blob: c5f8b2c436037dccc2248fbec0f26def29d6c5a9 (
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:compadd -k dis_reswords" \
'-m[treat arguments as patterns]' \
"*:builtin command:(${(k)dis_builtins})"
|