alias sshdiff='func_arch_ssh_diff(){ ssh -p18922 -i "$scpidentity" root@2 "cat $3" | vimdiff "$1" - ;};func_arch_ssh_diff $@'
没写错吗?至少 @2 不应该是 @$2 ?
确定 vimdiff 支持你这样玩?
alias sshdiff='func_arch_ssh_diff(){ ssh -p18922 -i "$scpidentity" root@2 "cat $3" | vimdiff "$1" - ;};func_arch_ssh_diff $@'
没写错吗?至少 @2 不应该是 @$2 ?
确定 vimdiff 支持你这样玩?