-
-
Save iamkem/a8550c2e3f3bec8b85e1b9915e0e51a6 to your computer and use it in GitHub Desktop.
Export $ANDROID_HOME on MacOS with Fish shell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| touch ~/.config/fish/config.fish; | |
| echo "set --export ANDROID $HOME/Library/Android;" >> ~/.config/fish/config.fish | |
| echo "set --export ANDROID_HOME $ANDROID/sdk;" >> ~/.config/fish/config.fish | |
| echo "set -gx PATH $ANDROID_HOME/tools $PATH;" >> ~/.config/fish/config.fish | |
| echo "set -gx PATH $ANDROID_HOME/tools/bin $PATH;" >> ~/.config/fish/config.fish | |
| echo "set -gx PATH $ANDROID_HOME/platform-tools $PATH;" >> ~/.config/fish/config.fish | |
| echo "set -gx PATH $ANDROID_HOME/emulator $PATH" >> ~/.config/fish/config.fish | |
| echo "set --export JAVA_HOME /Applications/Android\ Studio.app/Contents/jbr/Contents/Home;" >> ~/.config/fish/config.fish | |
| echo "set -gx PATH $JAVA_HOME/bin $PATH;" >> ~/.config/fish/config.fish |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment