A Zsh builtin to indicate how a command would be interpreted. More information: https://keith.github.io/xcode-man-pages/whence.1.html.
command
, with expansion if defined as an alias
(similar to the command -v
builtin):whence "{{command}}"
command
, with location if defined as a function, or binary (equivalent to the 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}}"