zsh compatibility
Revert "use 'which' to get path of unaliased command"

Some of the commands are built into zsh

This reverts commit 319a74fc9dad82e5bd4c1fc42a349fff6038f407.