Para zsh , which é a abreviação de whence -c e suporta outros whence opções. Em particular:
-p Do a path search for name even if it is an alias,
reserved word, shell function or builtin.
Então:
$ which git
git: aliased to noglob git
$ which -p git
/usr/bin/git