diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Completion/Unix/Command/_ssh | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 7ff88c172..905f3b195 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2003-02-13 Oliver Kiddle <opk@zsh.org> + * users/5915: Completion/Unix/Command/_ssh: two levels of quoting + are needed for remote files referenced with scp + * 18237: Completion/Zsh/Command/_read: complete -t option * 18223: Src/builtin.c, Doc/Zsh/builtins.yo: satisfy POSIX 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 |