diff options
author | Clint Adams <clint@users.sourceforge.net> | 2008-10-14 21:08:00 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2008-10-14 21:08:00 +0000 |
commit | 9b3a41d5297ca636f2de95bbc49ce1efa2e2ebb4 (patch) | |
tree | 7c5782280b6ea020d9e9378d4e82e142335c41de | |
parent | 1f0f5b8e62fd73d8e6fc0230ed8bf535db7671f7 (diff) | |
download | zsh-9b3a41d5297ca636f2de95bbc49ce1efa2e2ebb4.tar.gz zsh-9b3a41d5297ca636f2de95bbc49ce1efa2e2ebb4.tar.xz zsh-9b3a41d5297ca636f2de95bbc49ce1efa2e2ebb4.zip |
Jörg Sommer: 25882: run ssh with -oBatchMode=yes.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Unix/Command/_ssh | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 8df4fca33..5508e834d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-10-14 Clint Adams <clint@zsh.org> + + * Jörg Sommer: 25882: Completion/Unix/Command/_ssh: run ssh with + -oBatchMode=yes. + 2008-10-14 Peter Stephenson <pws@csr.com> * 25893: Doc/Zsh/compwid.yo: matcher "m:{a-z}={A-Z}" still diff --git a/Completion/Unix/Command/_ssh b/Completion/Unix/Command/_ssh index c52b38c3e..293732cfd 100644 --- a/Completion/Unix/Command/_ssh +++ b/Completion/Unix/Command/_ssh @@ -10,7 +10,7 @@ _remote_files () { then rempat="${PREFIX%%[^./][^/]#}\*" else rempat="${(q)PREFIX%%[^./][^/]#}\*" fi - remfiles=(${(M)${(f)"$(_call_program files ssh $args -a -x ${IPREFIX%:} ls -d1FL "$rempat" 2>/dev/null)"}%%[^/]#(|/)}) + remfiles=(${(M)${(f)"$(_call_program files ssh -o BatchMode=yes $args -a -x ${IPREFIX%:} ls -d1FL "$rempat" 2>/dev/null)"}%%[^/]#(|/)}) compset -P '*/' compset -S '/*' || suf='remote file' |