about summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorDoug Kearns <dkearns@users.sourceforge.net>2005-07-03 11:11:20 +0000
committerDoug Kearns <dkearns@users.sourceforge.net>2005-07-03 11:11:20 +0000
commit3538c874b10191e802dc47d8bbf7867750651fb1 (patch)
tree87da3a3be189afe9a4f36872ba04c574a11d025c /Completion/Unix/Command
parent198bd8f9e61b0a763f8a4da9dc517fecf262efe8 (diff)
downloadzsh-3538c874b10191e802dc47d8bbf7867750651fb1.tar.gz
zsh-3538c874b10191e802dc47d8bbf7867750651fb1.tar.xz
zsh-3538c874b10191e802dc47d8bbf7867750651fb1.zip
* unposted: add missing compset -S calls to _w3m
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_w3m8
1 files changed, 6 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_w3m b/Completion/Unix/Command/_w3m
index 0ea453841..9569368a5 100644
--- a/Completion/Unix/Command/_w3m
+++ b/Completion/Unix/Command/_w3m
@@ -55,6 +55,8 @@ _arguments -C \
   '-debug' \
   '(-B -v)*:URL:->html' && ret=0
 
+local -a suf
+
 case "$state" in
   charset)
     local -a charsets
@@ -91,14 +93,16 @@ case "$state" in
     if compset -P '*='; then
       _message -e values 'value'
     else
-      _describe -t options 'option' options -S '=' && ret=0
+      compset -S '=*' || suf=( -S '=' )
+      _describe -t options 'option' options "$suf[@]" && ret=0
     fi
   ;;
   pauth)
     if compset -P '*:'; then
       _message -e passwords 'password'
     else
-      _users -S ':' && ret=0
+      compset -S ':*' || suf=( -S ':' )
+      _users "$suf[@]" && ret=0
     fi
   ;;
 esac