streamlined the use of "type/which" in zsh dotfiles