1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 13:33:52 +01:00
zsh/Completion/Zsh/Command/_disable
2005-06-08 06:20:39 +00:00

10 lines
459 B
Plaintext

#compdef disable
_arguments -C -s -A "-*" -S \
"(-f -r -s)-a[act on regular or global aliases]:*:regular or global aliases:(${(k)aliases} ${(k)galiases})" \
"(-a -r -s)-f[act on functions]:*:functions:(${(k)functions})" \
"(-a -f -s)-r[act on reserved words]:*:reserved-words:compadd -k reswords" \
"(-a -f -r)-s[act on suffix aliases]:*:suffix aliases:(${(k)saliases})" \
'-m[treat arguments as patterns]' \
"*:builtin command:(${(k)builtins})"