zsh: command not found: 解决方法

9,440 阅读1分钟

思路:把 bash shell 中.bash_profile 全部环境变量加入zsh shell中

第一步:open .zshrc

第二步:添加 source ~/.bash_profile

第三步执行:source .zshrc