mac重启iterm后不会自动加载.bash_profile

我用的zsh,因为平时设置的环境变量都是在.bash_profile文件中,每次重启iterm后,都须要重启手动加载.bash_profile文件,很麻烦。web 设置自动加载.bash_profile的方法以下: 在.zshrc配置文件中调用.bash_profile文件 打开zsh的配置文件.zshrc,在最后面添加一行代码source /Users/mymac/.bash_profile(也
相关文章
相关标签/搜索