From 3f588ef05f56031de452e940b0f4b4fd5453b4ed Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Tue, 18 Feb 2003 15:53:19 +0000 Subject: merge changes from 4.1 --- Completion/Unix/Command/_ssh | 4 ++-- Completion/Unix/Command/_webbrowser | 2 +- Completion/Unix/Type/_urls | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'Completion/Unix') 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 -- cgit 1.4.1