about summary refs log tree commit diff
path: root/Completion/Builtins/_enable
blob: 9912862768c78daca67171c98a6679a75b49f71f (plain) (blame)
1
2
3
4
5
6
7
8
#compdef enable

_arguments -C -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})"