mac 升级后shell环境变量不生效 mac从10.13升级到10.15.2 环境变量有些无法生效 解决方法: vi ~/.zshrc 加入如下内容 source ~/.bash_profile 参考: https://support.apple.com/zh-cn/HT208050