Mac环境下如何安装iTerm2并配置Z-Shell
http://blog.csdn.net/zh952016281/article/details/49680931
那么当mac机器上安装了zsh后 .bash_profile 文件中的环境变量就无法起到作用。
接下来的解决方案:
(1) cd ~
(2) open .zshrc
(3) 在.zshrc文件末尾增加.bash_profile的引用:
source ~/.bash_profile

浙公网安备 33010602011771号