about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:27:24 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:27:24 +0000
commitd8901d8cfd9fc0997ec922939837949ec2e5e6f6 (patch)
treeab02637d5255324eec68880cf00fc7445b0b09c1
parent91d1f009b1bc8ccffe14494d7d7019a675e36b3d (diff)
downloadzsh-d8901d8cfd9fc0997ec922939837949ec2e5e6f6.tar.gz
zsh-d8901d8cfd9fc0997ec922939837949ec2e5e6f6.tar.xz
zsh-d8901d8cfd9fc0997ec922939837949ec2e5e6f6.zip
moved from Completion/Builtins/_disable
-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})"