inserted check for bash or zsh