Command not found - Oh-My-Zsh

前端 未结 12 930
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-25 11:54

I recently installed zsh and oh-my-zsh in my Mac. Now when I try to run a maven command from the terminal, I am getting the following error.

$ mvn install
zs         


        
12条回答
  •  眼角桃花
    2020-12-25 12:33

    • First, as 4ae1e1 pointed out, you missed the $ in PATH=$PATH:M2_HOME/bin
    • Second, don't forget to run source ~/.zshrc to take the settings into effect instantly.

提交回复
热议问题