1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-10-02 00:41:44 +02:00
zsh/Completion/Builtins/_enable
Oliver Kiddle b9c58a73ac various doc fixes and minor completion function changes, most of which
are to use the -A "-*" and -S options to _arguments (13863)
2001-04-01 16:19:15 +00:00

9 lines
336 B
Plaintext

#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})"