X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/d851861997240e29ef459999b673d32967492bea..32ea2277195ebd8c244f37285f64b135e6ba4d9e:/.zsh/aliases/rrsh?ds=inline diff --git a/.zsh/aliases/rrsh b/.zsh/aliases/rrsh index 8fb62d7..87ef78b 100644 --- a/.zsh/aliases/rrsh +++ b/.zsh/aliases/rrsh @@ -1 +1,2 @@ -() { ssh "$@" -t /bin/su } +() { ssh "${@:-}" -t /bin/su - } +compdef ${0}=ssh