环境变量配置一般都在.bash_profile文件中,重启需要手动加载。在.zshrc配置文件中调用.bash_profile文件,可实现自动重启自动调用。如:source /Users/mymac/.bash_profile
评论