about summary refs log tree commit diff
path: root/Completion/Zsh
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:30:19 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:30:19 +0000
commit9dfe990c281fa807147c6db0e6ef1687cae1c903 (patch)
tree18cf3a926efee856568f39e6a0aacdbff05d1638 /Completion/Zsh
parentd46b7063b35ab6b3d16b34535d92a483e0367ae5 (diff)
downloadzsh-9dfe990c281fa807147c6db0e6ef1687cae1c903.tar.gz
zsh-9dfe990c281fa807147c6db0e6ef1687cae1c903.tar.xz
zsh-9dfe990c281fa807147c6db0e6ef1687cae1c903.zip
moved from Completion/Builtins/_set
Diffstat (limited to 'Completion/Zsh')
-rw-r--r--Completion/Zsh/Command/_set9
1 files changed, 9 insertions, 0 deletions
diff --git a/Completion/Zsh/Command/_set b/Completion/Zsh/Command/_set
new file mode 100644
index 000000000..b96eb0efb
--- /dev/null
+++ b/Completion/Zsh/Command/_set
@@ -0,0 +1,9 @@
+#compdef set
+
+local prev="$words[CURRENT-1]"
+
+if [[ "$prev" = [-+]o ]]; then
+  _options
+elif [[ "$prev" = -A ]]; then
+  _arrays
+fi