天天看點

成功解決 zsh: command not found

成功解決 zsh: command not found

在終端執行

vim ~/.zshrc

第二步

找到 “# User configuration”

在其下面添加下面内容

source ~/.bash_profile

如果沒有’# User configuration’,就直接把上面内容添加到 ~/.zshrc 裡面

第三步

在終端裡執行

source ~/.zshrc