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