Mac使用zsh导致maven命令无效的解决方案

第一步:

vim ~/.zshrc

第二步:在.zshrc末尾加上

source ~/.bash_profile;

保存推出了

 第三步

source ~/.bash_profile

原文地址:https://www.cnblogs.com/xyj179/p/9828801.html