Skip to content

Instantly share code, notes, and snippets.

@joselo
Created October 9, 2011 05:16
Show Gist options
  • Save joselo/1273338 to your computer and use it in GitHub Desktop.
Save joselo/1273338 to your computer and use it in GitHub Desktop.
My.bash_profile in Mac OS X Lion
# Mac OS X: brew install bash-completion
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
export PS1='\w$(__git_ps1 " \[\033[01;33m\](%s)")\[\033[00m\]\$ '
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
[[ -s "/Users/joselo/.rvm/scripts/rvm" ]] && source "/Users/joselo/.rvm/scripts/rvm" # This loads RVM into a shell session.
alias db='psql -U postgres'
alias r='rails'
alias sub='open -a "/Applications/Sublime Text 2.app"'
alias git-undo-changes='git reset --hard && git clean -f -x -d'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment