summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_ssh
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2008-10-14 21:08:00 +0000
committerClint Adams <clint@users.sourceforge.net>2008-10-14 21:08:00 +0000
commit9b3a41d5297ca636f2de95bbc49ce1efa2e2ebb4 (patch)
tree7c5782280b6ea020d9e9378d4e82e142335c41de /Completion/Unix/Command/_ssh
parent1f0f5b8e62fd73d8e6fc0230ed8bf535db7671f7 (diff)
downloadzsh-9b3a41d5297ca636f2de95bbc49ce1efa2e2ebb4.tar.gz
zsh-9b3a41d5297ca636f2de95bbc49ce1efa2e2ebb4.zip
Jörg Sommer: 25882: run ssh with -oBatchMode=yes.
Diffstat (limited to 'Completion/Unix/Command/_ssh')
-rw-r--r--Completion/Unix/Command/_ssh2
1 files changed, 1 insertions, 1 deletions
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'