bug fixed to check shell for zsh