1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-17 10:20:55 +01:00
zsh/Completion/Builtins/_which
1999-11-15 12:01:46 +00:00

12 lines
361 B
Text

#compdef which whence where type
local args
args=( "$@" )
_alternative -O args \
'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}'