diff options
| author | Bart Schaefer <barts@users.sourceforge.net> | 2004-03-21 01:54:49 +0000 |
|---|---|---|
| committer | Bart Schaefer <barts@users.sourceforge.net> | 2004-03-21 01:54:49 +0000 |
| commit | 2313f83218274d9e10618a7bc712baa6eb159192 (patch) | |
| tree | 8c3a63bcacfe49639124c7ec56a1375afc652bcd /Completion/Unix/Command | |
| parent | Get it right this time. (diff) | |
| download | zsh-2313f83218274d9e10618a7bc712baa6eb159192.tar zsh-2313f83218274d9e10618a7bc712baa6eb159192.tar.gz zsh-2313f83218274d9e10618a7bc712baa6eb159192.tar.bz2 zsh-2313f83218274d9e10618a7bc712baa6eb159192.tar.lz zsh-2313f83218274d9e10618a7bc712baa6eb159192.tar.xz zsh-2313f83218274d9e10618a7bc712baa6eb159192.tar.zst zsh-2313f83218274d9e10618a7bc712baa6eb159192.zip | |
As suggested by 19666 and corrected by 19668, fix remote file completion.
Diffstat (limited to 'Completion/Unix/Command')
| -rw-r--r-- | Completion/Unix/Command/_ssh | 2 |
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' |
