about summary refs log tree commit diff
path: root/Completion/Zsh/Type/_options
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Zsh/Type/_options')
-rw-r--r--Completion/Zsh/Type/_options8
1 files changed, 8 insertions, 0 deletions
diff --git a/Completion/Zsh/Type/_options b/Completion/Zsh/Type/_options
new file mode 100644
index 000000000..c6cf30d99
--- /dev/null
+++ b/Completion/Zsh/Type/_options
@@ -0,0 +1,8 @@
+#autoload
+
+# This should be used to complete all option names.
+
+local expl
+
+_wanted zsh-options expl 'zsh option' \
+    compadd "$@" -M 'B:[nN][oO]= M:_= M:{A-Z}={a-z}' -k - options