新建一个终端窗口显示如下
Last login: Fri Apr 1 16:53:24 on ttys002
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.
查看终端的打印格式
$ echo $PS1
\h:\W \u\$
执行命令 chsh -s /bin/zsh
然后新开窗口
Las