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