Created
October 9, 2011 05:16
-
-
Save joselo/1273338 to your computer and use it in GitHub Desktop.
My.bash_profile in Mac OS X Lion
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
# 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