Command not found - Oh-My-Zsh

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

    Combining other answers I got adb working on mac and zsh appending these two path lines to .zshrc:

    # If you come from bash you might have to change your $PATH.
    # export PATH=$HOME/bin:/usr/local/bin:$PATH
    # this are for Android Studio adb:
    export PATH=~/Android/sdk/tools:$PATH
    export PATH=~/Android/sdk/platform-tools:$PATH
    

提交回复
热议问题