Skip to content

Instantly share code, notes, and snippets.

@balascript
Created August 10, 2020 01:16
Show Gist options
  • Save balascript/7bd189797caa097543590920e6978238 to your computer and use it in GitHub Desktop.
Save balascript/7bd189797caa097543590920e6978238 to your computer and use it in GitHub Desktop.
My dev machine bash_profile
# /usr/local/etc/bash_completion.d
export JAVA_HOME="/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home"
export ANDROID_HOME="/Users/bramdoss/Library/Android/sdk"
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools
export PATH="$PATH:$JAVA_HOME/bin"
alias rna="npx react-native run-android"
alias rni="npx react-native run-ios"
alias rns="npx react-native start"
alias bashprofile="code ~/.bash_profile"
alias gitconfig="code ~/.gitconfig"
[[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh"
[[ -r "/usr/local/etc/bash_completion.d/git-prompt.sh" ]] && source "/usr/local/etc/bash_completion.d/git-prompt.sh"
[[ -r "/usr/local/etc/bash_completion.d/git-completion.bash" ]] && source "/usr/local/etc/bash_completion.d/git-completion.bash"
## GIT PS1 CONFIG
export GIT_PS1_SHOWCOLORHINTS=true
export GIT_PS1_SHOWDIRTYSTATE=true
export PROMPT_COMMAND='__git_ps1 "\w" "\n\\\$ "'
export BASH_SILENCE_DEPRECATION_WARNING=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment