在 .bashrc 文件中添加如下代码:
if [ -t 1 ]; then exec zsh fi
重启终端生效。
本文标题:修改 Linux 默认 Shell 用 chsh -s /bin
本文链接:https://www.haomeiwen.com/subject/wuddfltx.html
网友评论