Created
January 31, 2011 18:30
-
-
Save davist11/804528 to your computer and use it in GitHub Desktop.
.bash_profile
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
alias getpath='pwd | tr -d "\r\n" | pbcopy' | |
alias ls='ls -lah' | |
alias go='git checkout' | |
alias gitdel='git ls-files --deleted | xargs git rm' | |
source ~/scripts/git-completion.bash | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} | |
PS1="\[\e[01;31m\]\w \$(parse_git_branch): \[\e[00m\]" | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.export GEM_HOME='/usr/local/Cellar/gems/1.8' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment