Set path variable based on zsh and bash.