在 macOS 10.15 系統中,打開終端會有個下面這個提示:
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
這個提示是希望你能夠切換默認的 shell 到 zsh
只需要在命令行執行下面的命令, 以後就不會出現這個提示了
chsh -s /bin/zsh
更詳細的官方說明,點擊下邊的連接 在 Mac 上將 zsh 用作默認 Shell