From e36a8bc755e5c250ab5cd98b2ef365f59dcc54f8 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 17 Jul 2017 20:59:48 +0200 Subject: [PATCH] Remove is-ssh function (unused) --- shell/common.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/shell/common.sh b/shell/common.sh index bf5a1a88..7b958530 100644 --- a/shell/common.sh +++ b/shell/common.sh @@ -5,7 +5,6 @@ ENABLED_DIR="$DOTFILES/.enabled.d" is-callable() { command -v "$1" >/dev/null; } is-interactive() { [[ $- == *i* ]]; } is-root() { [[ "$UID" -eq 0 ]]; } -is-ssh() { [[ $SSH_CONNECTION ]]; } info() { printf "\r[ \033[00;34m..\033[0m ] $1\n"; } success() { printf "\r\033[2K[ \033[00;32mOK\033[0m ] $1\n"; }