zsh 每次要 source ~/.bash_profile 解决

问题

zsh 默认是加载 ~/.zshrc

打开后 并没有发现文件 .bash_profile

解决

.zshrc 追加

source ~/.bash_profile

重启新控制台窗口生效

你可能感兴趣的:(zsh 每次要 source ~/.bash_profile 解决)