diff options
-rw-r--r-- | Completion/Zsh/Command/_set | 9 |
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 |