"echo $SHELL" Will usually tell you what shell you're running. However, if it is ZSH, then there should be no problem with the single quote method.