X-Git-Url: https://git.madduck.net/etc/ssh.git/blobdiff_plain/5dae703a994751dddb49d7d7396999cb2fed9088..7e489083bc0d1328c7db1b1bbf036e31c0f98ea4:/.zsh/zshrc/parts.d/50-ssh diff --git a/.zsh/zshrc/parts.d/50-ssh b/.zsh/zshrc/parts.d/50-ssh index 335f5f3..4e37508 100644 --- a/.zsh/zshrc/parts.d/50-ssh +++ b/.zsh/zshrc/parts.d/50-ssh @@ -21,7 +21,7 @@ _ssh_proxy() { cmd="$1"; shift sshopts="${*%%--*}"; sshopts="${sshopts%% }" cmdopts="${*#$sshopts}"; cmdopts="${cmdopts#*-- }" - ssh $sshopts -t $cmd $cmdopts + eval ssh $sshopts -t $cmd $cmdopts } alias rrsh='_ssh_proxy "su -"'