summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:21:27 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:21:27 +0000
commit59577122580497af0900b6511600117edb0f6e4b (patch)
tree21d9af9cc40e2953e6473275f392ad9a1ae7180e
parent57f650261628c989abca67fcdb9370a0acae2b66 (diff)
downloadzsh-59577122580497af0900b6511600117edb0f6e4b.tar.gz
zsh-59577122580497af0900b6511600117edb0f6e4b.tar.xz
zsh-59577122580497af0900b6511600117edb0f6e4b.zip
moved from Completion/Core/_set_options
-rw-r--r--Completion/Zsh/Type/_options_set10
1 files changed, 10 insertions, 0 deletions
diff --git a/Completion/Zsh/Type/_options_set b/Completion/Zsh/Type/_options_set
new file mode 100644
index 000000000..6082909fd
--- /dev/null
+++ b/Completion/Zsh/Type/_options_set
@@ -0,0 +1,10 @@
+#autoload
+
+# Complete all set 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 'set zsh option' \
+    compadd "$@" -M 'B:[nN][oO]= M:_= M:{A-Z}={a-z}' -a _options_set