summary refs log tree commit diff
path: root/Completion/Zsh/Command/_disable
blob: 3b627fb5f5336529a9022cb7f8b222143ddf40ff (plain) (blame)
1
2
3
4
5
6
7
8
9
#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})"