about summary refs log tree commit diff
path: root/Completion/Builtins/_which
blob: 6e9e0a460001748a884269fb75291dc639fe67e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#compdef which whence where type

local args

args=( "$@" )

_alternative -O args any:argument \
  'commands:external command:compadd - ${(k@)commands}' \
  'builtins:builtin command:compadd - ${(k@)builtins}' \
  'functions:shell function:compadd - ${(k@)functions}' \
  'aliases:alias:compadd - ${(k@)aliases}' \
  'reserved-words:reserved word:compadd - ${(k@)reswords}'