Which shell I am using in mac
问题 Default shell in my mac was bash. I have tried to change it into ZSH by command chsh -s /bin/zsh . Now when I am trying to check the shell type, I am getting different responses. COMMAND-1 input : echo $SHELL output : /bin/zsh COMMAND-2 input : ps $o output : 7655 ttys002 0:00.03 -bash COMMAND-3 input : ps -p $$ | awk '$1 == PP {print $4}' PP=$$ output : -bash I am not sure which shell I am using. Do I need to do something additional to change my shell into ZSH . 回答1: macOS's Terminal allows