about summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2004-03-21 01:54:49 +0000
committerBart Schaefer <barts@users.sourceforge.net>2004-03-21 01:54:49 +0000
commit2313f83218274d9e10618a7bc712baa6eb159192 (patch)
tree8c3a63bcacfe49639124c7ec56a1375afc652bcd /Completion/Unix
parent3f676a818f8c708605e34a06016e73ac0786c3e0 (diff)
downloadzsh-2313f83218274d9e10618a7bc712baa6eb159192.tar.gz
zsh-2313f83218274d9e10618a7bc712baa6eb159192.tar.xz
zsh-2313f83218274d9e10618a7bc712baa6eb159192.zip
As suggested by 19666 and corrected by 19668, fix remote file completion.
Diffstat (limited to 'Completion/Unix')
-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 66cde3e56..d59d42878 100644
--- a/Completion/Unix/Command/_ssh
+++ b/Completion/Unix/Command/_ssh
@@ -6,7 +6,7 @@ _remote_files () {
 
   if zstyle -T ":completion:${curcontext}:files" remote-access; then
     zparseopts -D -E -a args p: 1 2 4 6 F:
-    remfiles=(${(M)${(f)"$(_call_program files ssh $args -a -x ${IPREFIX%:} ls -d1F ${(Q)PREFIX%%[^./][^/]#}\* 2>/dev/null)"}%%[^/]#(|/)})
+    remfiles=(${(M)${(f)"$(_call_program files ssh $args -a -x ${IPREFIX%:} ls -d1FL "${(Q)PREFIX%%[^./][^/]#}\*" 2>/dev/null)"}%%[^/]#(|/)})
     compset -P '*/'
     compset -S '/*' || suf='remote file'