blob: 527423b3c93751bf38e8256acd18e3c1ce86112d (
plain) (
blame)
1
2
3
4
5
6
7
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})"
|