My .bash_profile

if [ -f ~/.bashrc ]; then
  source ~/.bashrc
fi

if [ -f $(brew --prefix)/etc/bash_completion ]; then
  . $(brew --prefix)/etc/bash_completion
fi
export PS1="\\w\$(__git_ps1 '(%s)') \$ "

export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced

alias 'subl=/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl'

[ -s "/Users/shao/.nvm/nvm.sh" ] && . "/Users/shao/.nvm/nvm.sh" # This loads nvm

Some prerequisites:
– brew
– nvm
– brew install git bash-completion

Advertisements
Standard