2023-05-13-23-37-55 发表于 2023-05-13 不用shell新开终端窗口时执行的.bashXxx是不一样的,一直以为mac也是 .bashrc但要看shell 12echo $SHELLenv 是 /bin/zsh所以要写在 ~/.zshrc 里,终于弄清楚了!