mac安装Oh-my-zsh之后环境变量失效

安装了Oh-my-zsh之后,发现以前的环境变量全部失效了,原因是安装了Oh-my-zsh之后~/.bash_profile文件不再执行,只需将'source ~/bash_profile'这句话加入到.zshrc文件中即可。

Guess you like

Origin blog.csdn.net/qq_46927284/article/details/120141914
Recommended