about summary refs log tree commit diff
path: root/Completion/Zsh/Type/_options_unset
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:21:44 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:21:44 +0000
commit4c16d726c58d4b51597b00f3a15e382502554a3a (patch)
treeaa56dae52a5ea0ea2470ce0db29478bc769d2d5f /Completion/Zsh/Type/_options_unset
parentd309d745e8c49fd707b9dc259a76374f9588d69c (diff)
downloadzsh-4c16d726c58d4b51597b00f3a15e382502554a3a.tar.gz
zsh-4c16d726c58d4b51597b00f3a15e382502554a3a.tar.xz
zsh-4c16d726c58d4b51597b00f3a15e382502554a3a.zip
moved from Completion/Core/_unset_options
Diffstat (limited to 'Completion/Zsh/Type/_options_unset')
-rw-r--r--Completion/Zsh/Type/_options_unset10
1 files changed, 10 insertions, 0 deletions
diff --git a/Completion/Zsh/Type/_options_unset b/Completion/Zsh/Type/_options_unset
new file mode 100644
index 000000000..3af92f61c
--- /dev/null
+++ b/Completion/Zsh/Type/_options_unset
@@ -0,0 +1,10 @@
+#autoload
+
+# Complete all unset options. This relies on `_main_complete' to store the
+# names of the options that were set when it was called in the array
+# `_options_set'.
+
+local expl
+
+_wanted zsh-options expl 'unset zsh option' \
+    compadd "$@" -M 'B:[nN][oO]= M:_= M:{A-Z}={a-z}' -a _options_unset