Command not found - Oh-My-Zsh

前端 未结 12 951
佛祖请我去吃肉
佛祖请我去吃肉 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:28

    vi ~/.zshrc
    

    add source ~/.bash_profile to ~/.zshrc file, after the line source $ZSH/oh-my-zsh.sh

    open up a new terminal tab and execute mvn, and it will start working.

提交回复
热议问题