summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2003-02-13 16:14:51 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2003-02-13 16:14:51 +0000
commitb9d8d6f20098f707b2dd4a62b5d288910082beb4 (patch)
tree05aa17cc8ca3061c6a2c7887a7a330ec52adfa08 /Completion
parentdc91d837e8fdf6228df66a74a6fb8c2395f8baec (diff)
downloadzsh-b9d8d6f20098f707b2dd4a62b5d288910082beb4.tar.gz
zsh-b9d8d6f20098f707b2dd4a62b5d288910082beb4.tar.xz
zsh-b9d8d6f20098f707b2dd4a62b5d288910082beb4.zip
users/5915: two levels of quoting are needed for remote files with scp
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_ssh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_ssh b/Completion/Unix/Command/_ssh
index 2615ca871..4ea17dd87 100644
--- a/Completion/Unix/Command/_ssh
+++ b/Completion/Unix/Command/_ssh
@@ -17,9 +17,9 @@ _remote_files () {
     while _tags; do
       while _next_label files expl ${suf:-remote directory}; do
         [[ -n $suf ]] && compadd "$@" "$expl[@]" -d remdispf \
-	    ${remdispf%[*=@|]} && ret=0 
+	    ${(q)remdispf%[*=@|]} && ret=0 
 	compadd ${suf:+-S/} "$@" "$expl[@]" -d remdispd \
-	    ${remdispd%/} && ret=0
+	    ${(q)remdispd%/} && ret=0
       done
       (( ret )) || return 0
     done