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