A zsh builtin to indicate how a given command would be interpreted. More information: https://www.unix.com/man-page/OpenSolaris/1/whence/.
alias
(similar to the command -v
builtin):whence "{{command}}"
type
and command -V
builtins):whence -v "{{command}}"
which
builtin):whence -c "{{command}}"
where
builtin):whence -ca "{{command}}"
PATH
for {{command}}, ignoring builtins, aliases or shell functions (equivalent to the where
command):whence -p "{{command}}"