X-Git-Url: https://git.madduck.net/etc/ssh.git/blobdiff_plain/47306c22e64f72353dc803bb275282d1e0208265..7e489083bc0d1328c7db1b1bbf036e31c0f98ea4:/.zsh/zshrc/parts.d/50-ssh?ds=inline 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 -"'