From 7e489083bc0d1328c7db1b1bbf036e31c0f98ea4 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 30 Mar 2020 09:03:00 +1300 Subject: [PATCH 1/1] need to eval the ssh command --- .zsh/zshrc/parts.d/50-ssh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -"' -- 2.39.5