解决办法: 在终端输入vim ~/.zshrc加一句 source ~/.bash_profile 转载于:https://www.cnblogs.com/xqnq2007/p/6683842.html