about summary refs log tree commit diff
path: root/Completion/Zsh
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:28:14 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:28:14 +0000
commit1c70b5207efcb1b3509f706fda0c3735c1cbef4d (patch)
tree4acf645d0b61a961a3736eccc84b9193147c92d1 /Completion/Zsh
parent2c91c9fa769274a509f056166b0ef9daf1d1ffcf (diff)
downloadzsh-1c70b5207efcb1b3509f706fda0c3735c1cbef4d.tar.gz
zsh-1c70b5207efcb1b3509f706fda0c3735c1cbef4d.tar.xz
zsh-1c70b5207efcb1b3509f706fda0c3735c1cbef4d.zip
moved from Completion/Builtins/_enable
Diffstat (limited to 'Completion/Zsh')
-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})"