diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2003-02-18 15:53:19 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2003-02-18 15:53:19 +0000 |
commit | 3f588ef05f56031de452e940b0f4b4fd5453b4ed (patch) | |
tree | 9b189a6c12ca29e5319f9502233b07e20a7ed4ea /Completion/Unix | |
parent | ee5d13e7287c1cdd18422fc1444089e5e10532ee (diff) | |
download | zsh-3f588ef05f56031de452e940b0f4b4fd5453b4ed.tar.gz zsh-3f588ef05f56031de452e940b0f4b4fd5453b4ed.tar.xz zsh-3f588ef05f56031de452e940b0f4b4fd5453b4ed.zip |
merge changes from 4.1
Diffstat (limited to 'Completion/Unix')
-rw-r--r-- | Completion/Unix/Command/_ssh | 4 | ||||
-rw-r--r-- | Completion/Unix/Command/_webbrowser | 2 | ||||
-rw-r--r-- | Completion/Unix/Type/_urls | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Completion/Unix/Command/_ssh b/Completion/Unix/Command/_ssh index 4c2eef7cc..40f495ea9 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 diff --git a/Completion/Unix/Command/_webbrowser b/Completion/Unix/Command/_webbrowser index bde1372be..4e3df2a54 100644 --- a/Completion/Unix/Command/_webbrowser +++ b/Completion/Unix/Command/_webbrowser @@ -1,3 +1,3 @@ -#compdef amaya arena chimera express grail gzilla hotjava mmm opera www xmosaic Mosaic galeon konqueror skipstone light dillo +#compdef amaya arena chimera dillo express galeon grail gzilla hotjava konqueror light mmm Mosaic netrik opera phoenix retawq skipstone www xmosaic zen _urls -f diff --git a/Completion/Unix/Type/_urls b/Completion/Unix/Type/_urls index da9c368e6..4eeff5c99 100644 --- a/Completion/Unix/Type/_urls +++ b/Completion/Unix/Type/_urls @@ -57,7 +57,7 @@ zstyle -a ":completion:${curcontext}:urls" urls urls if [[ $#urls -gt 1 || ( $#urls -eq 1 && ! -d $urls[1] ) ]]; then [[ $#urls -eq 1 && -f $urls[1] ]] && urls=( $(< $urls[1]) ) - _wanted urls expl 'urls' compadd -a urls && return 0 + _wanted urls expl 'url' compadd -a urls && return 0 urls=() fi |