about summary refs log tree commit diff
path: root/Completion/X/_xwit
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-03-24 12:56:54 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-03-24 12:56:54 +0000
commite3e5f4d61c610dea3862c998db3394ece64aced0 (patch)
tree9c5e4f425a93419e4570c2a0e73ed19fc597fdb2 /Completion/X/_xwit
parent230555aad87c44c711789ec1507c6920d9b483ac (diff)
downloadzsh-e3e5f4d61c610dea3862c998db3394ece64aced0.tar.gz
zsh-e3e5f4d61c610dea3862c998db3394ece64aced0.tar.xz
zsh-e3e5f4d61c610dea3862c998db3394ece64aced0.zip
zsh-workers/10233
Diffstat (limited to 'Completion/X/_xwit')
-rw-r--r--Completion/X/_xwit4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/X/_xwit b/Completion/X/_xwit
index e86443a32..8c988721d 100644
--- a/Completion/X/_xwit
+++ b/Completion/X/_xwit
@@ -16,8 +16,8 @@ _xwit_guard () {
 
 _xwit_compopts () {
   local expl
-  _description options expl option
-  compadd "$expl[@]" - ${(k)no[(R)*~0]} || compadd "$expl[@]" - ${(k)no}
+  _wanted options expl option compadd - ${(k)no[(R)*~0]} ||
+      _loop options expl option compadd - ${(k)no}
 }
 
 _regex_arguments _xwit_parse \