Skip to content

Instantly share code, notes, and snippets.

@huydx
Last active December 16, 2015 16:48
Show Gist options
  • Save huydx/5465304 to your computer and use it in GitHub Desktop.
Save huydx/5465304 to your computer and use it in GitHub Desktop.
bash_profile
export PATH=/usr/local/bin:$PATH
export SSL_CERT_FILE=~/.cert/cacert.pem
. ~/.nvm/nvm.sh
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
export SSL_CERT_FILE=~/.cert/cacert.pem
export CLI_COLOR=1
export LSCOLORS=DxFxBxDxCxcgcdabagacad
export PS1='\e[0;36m\u⌘ \e[0;35m\W \e[0;33m`git branch 2> /dev/null | grep -e ^* | sed -E s/^\\\\\*\ \(.+\)$/\(\\\\\1\)\ /`\e[m\]'
PATH=$PATH:$HOME/.rvm/bin
export PATH
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
# Setting PATH for Python 2.7
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}"
export PATH
PATH=$PATH:/Users/doxuanhuy/adt-bundle-mac-x86_64/sdk/tools:/Users/doxuanhuy/adt-bundle-mac-x86_64/sdk/platform-tools
export PATH
alias rm="rm -i"
alias rmrf="rm -i -rf"
alias lsa="ls -all"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
export TERM="xterm-color"
alias ls="ls -G"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment