blob: 5b14279629314ec19242d32b143a18a0e2979452 (
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 \
'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}'
|