Command not found - Oh-My-Zsh

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

    Actually, .bash_profile is for /bin/bash shell, for your /bin/zsh shell, the file is called .zprofile, you should do the same thing in .zprofile as in .bash_profile

提交回复
热议问题