From: Nicolas Boisselier Date: Mon, 25 Jan 2016 14:26:13 +0000 (+0000) Subject: rename shell_sslogin into shell_ssh X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=9cd0f01cb485dc5863c63a25b3dd3a7525b0025a;p=nb.git rename shell_sslogin into shell_ssh --- diff --git a/etc/profile.d/functions b/etc/profile.d/functions index 92a6c408..ab01a0e8 100644 --- a/etc/profile.d/functions +++ b/etc/profile.d/functions @@ -50,7 +50,7 @@ shell_functions() { #set | perl -ne '/^([a-z][\w_-]+) \(\)\s*$/ and print "$1 "' | perl -pe 's/\s+$//' } -shell_slogin() { +shell_ssh() { declare ssh_opt; case "$1" in -*) ssh_opt="$1"; shift ;; esac declare server; server="$1"; shift declare tmp; tmp="/tmp/$FUNCNAME.$USER"