about summary refs log tree commit diff
path: root/Completion/X/_xwit
diff options
context:
space:
mode:
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 4a5242e18..5e14fec89 100644
--- a/Completion/X/_xwit
+++ b/Completion/X/_xwit
@@ -16,8 +16,8 @@ _xwit_guard () {
 
 _xwit_compopts () {
   local expl
-  _wanted options expl option compadd - ${(k)no[(R)*~0]} ||
-      _loop options expl option compadd - ${(k)no}
+  _description options expl option
+  compadd "$expl[@]" - ${(k)no[(R)*~0]} || compadd "$expl[@]" - ${(k)no}
 }
 
 _regex_arguments _xwit_parse \