summary refs log tree commit diff
path: root/Completion/Zsh/Command/_unhash
blob: ff0c03f493f69d458085c0a17874b6334906a74c (plain) (blame)
1
2
3
4
5
6
7
8
9
#compdef unhash

_arguments -s -S \
  '(-a -f -s *)-d[remove named directories]:*:named directory:compadd -k nameddirs' \
  '(-d -f -s *)-a[remove aliases]:*:alias:_aliases' \
  '(-a -d -f *)-s[remove suffix aliases]:*:suffix alias:_aliases -s s' \
  '(-d -a -s *)-f[remove functions]:*:shell function:_functions' \
  '-m[treat arguments as patterns]' \
  '(-a -d -f -m)*:command: _command_names -e'