解决方案:
cat ~/.zshrc
添加 source ~/.bash_profile
原因: zshrc 是 zsh 启动时自动加载的, 所以通过 添加 source ~/.bash_profile 来激活一下bash_profile里面的内容。
解决方案:
cat ~/.zshrc
添加 source ~/.bash_profile
原因: zshrc 是 zsh 启动时自动加载的, 所以通过 添加 source ~/.bash_profile 来激活一下bash_profile里面的内容。
本文标题:zsh 启动时无法使用已经添加到~/.bash_profile
本文链接:https://www.haomeiwen.com/subject/ebqfpltx.html
网友评论