修改 Linux 默认 Shell 用 chsh -s /bin 2021-02-23 本文已影响0人 茉下忆 在 .bashrc 文件中添加如下代码: if [ -t 1 ]; then exec zsh fi 重启终端生效。