mac重启后~/.bash_profile配置失效问题 在~/.zshrc文件最后,增加一行 source ~/.bash_profile 如果没有 .zshrc 文件,在相应目录下添加 .zshrc(和.bash_profile同目录) touch .zshrc