about summary refs log tree commit diff
path: root/Completion/Zsh
diff options
context:
space:
mode:
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