因为使用的是zsh,所以每次打开itrem2时,都要执行一遍source ~/.bash_profile,非常的麻烦,解决如下:
1、打开zsh配置文件
vi ~/.zshrc
2、添加配置
source ~/.bash_profile
3、更新配置
source ~/.zshrc
参考:https://blog.csdn.net/SmallTeddy/article/details/121483626
因为使用的是zsh,所以每次打开itrem2时,都要执行一遍source ~/.bash_profile,非常的麻烦,解决如下:
1、打开zsh配置文件
vi ~/.zshrc
2、添加配置
source ~/.bash_profile
3、更新配置
source ~/.zshrc
参考:https://blog.csdn.net/SmallTeddy/article/details/121483626