about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Zsh/Command/_enable8
1 files changed, 8 insertions, 0 deletions
diff --git a/Completion/Zsh/Command/_enable b/Completion/Zsh/Command/_enable
new file mode 100644
index 000000000..527423b3c
--- /dev/null
+++ b/Completion/Zsh/Command/_enable
@@ -0,0 +1,8 @@
+#compdef enable
+
+_arguments -C -s -A "-*" -S \
+  "(-f -r)-a[act on aliases]:*:aliases:(${(k)dis_aliases})" \
+  "(-a -r)-f[act on functions]:*:functions:(${(k)dis_functions})" \
+  "(-a -f)-r[act on reserved words]:*:reserved-words:(${(k)dis_reswords})" \
+  '-m[treat arguments as patterns]' \
+  "*:builtin command:(${(@k)dis_builtins})"