Remove is-ssh function (unused)

This commit is contained in:
Henrik Lissner 2017-07-17 20:59:48 +02:00
parent 482785780c
commit e36a8bc755
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -5,7 +5,6 @@ ENABLED_DIR="$DOTFILES/.enabled.d"
is-callable() { command -v "$1" >/dev/null; } is-callable() { command -v "$1" >/dev/null; }
is-interactive() { [[ $- == *i* ]]; } is-interactive() { [[ $- == *i* ]]; }
is-root() { [[ "$UID" -eq 0 ]]; } is-root() { [[ "$UID" -eq 0 ]]; }
is-ssh() { [[ $SSH_CONNECTION ]]; }
info() { printf "\r[ \033[00;34m..\033[0m ] $1\n"; } info() { printf "\r[ \033[00;34m..\033[0m ] $1\n"; }
success() { printf "\r\033[2K[ \033[00;32mOK\033[0m ] $1\n"; } success() { printf "\r\033[2K[ \033[00;32mOK\033[0m ] $1\n"; }