diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2003-06-11 08:35:46 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2003-06-11 08:35:46 +0000 |
commit | 4a4fa1af68df33d7b6841b93e44d5a71304dd839 (patch) | |
tree | 2872bb44b4645cc2271c6011240ba9b3f3b8f10f /Completion/Unix/Command/_ssh | |
parent | 795cc6661653bfb04f601ef4babaf2997528521a (diff) | |
download | zsh-4a4fa1af68df33d7b6841b93e44d5a71304dd839.tar.gz zsh-4a4fa1af68df33d7b6841b93e44d5a71304dd839.tar.xz zsh-4a4fa1af68df33d7b6841b93e44d5a71304dd839.zip |
merge changes from 4.1
Diffstat (limited to 'Completion/Unix/Command/_ssh')
-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 40f495ea9..8494e823a 100644 --- a/Completion/Unix/Command/_ssh +++ b/Completion/Unix/Command/_ssh @@ -6,7 +6,7 @@ _remote_files () { if zstyle -T ":completion:${curcontext}:" remote-access; then zparseopts -D -E -a args p: 1 2 4 6 F: - remfiles=(${(M)${(f)"$(ssh $args -a -x ${words[CURRENT]%%:*} ls -d1F ${PREFIX%%[^./][^/]#}\* 2>/dev/null)"}%%[^/]#(|/)}) + remfiles=(${(M)${(f)"$(ssh $args -a -x ${IPREFIX%:} ls -d1F ${(Q)PREFIX%%[^./][^/]#}\* 2>/dev/null)"}%%[^/]#(|/)}) compset -P '*/' compset -S '/*' || suf='remote file' |