问题
zsh 默认是加载 ~/.zshrc
打开后 并没有发现文件 .bash_profile
解决
在 .zshrc
追加
source ~/.bash_profile
重启新控制台窗口生效
zsh 默认是加载 ~/.zshrc
打开后 并没有发现文件 .bash_profile
在 .zshrc
追加
source ~/.bash_profile
重启新控制台窗口生效
本文标题:zsh 每次要 source ~/.bash_profile 解
本文链接:https://www.haomeiwen.com/subject/xoixkftx.html
网友评论