1、查看你的终端shell是zsh还是bash 输入命令:echo $0 2、切换成bash 输入命令: chsh -s /bin/bash 3、切换成zsh 输入命令: chsh -s /bin/zsh