-
-
Save sethladd/331869 to your computer and use it in GitHub Desktop.
.bash_profile
This file contains 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
export PATH=$PATH:/Users/sladd/.gem/ruby/1.8/bin | |
alias gst='git status ' | |
alias gc='git commit ' | |
alias gca='git commit -a ' | |
alias ga='git add ' | |
alias gco='git checkout ' | |
alias gb='git branch ' | |
alias gm='git merge ' | |
alias gp='git push ' | |
alias gpu='git pull ' | |
source ~/.git-completion.bash | |
rvm_info() { | |
basename $(rvm gemdir) | |
} | |
function parse_git_branch { | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ [branch:\1]/' | |
} | |
function proml { | |
PS1="\w\$(parse_git_branch) [\$(rvm_info)]\$ " | |
PS2='> ' | |
PS4='+ ' | |
} | |
# rvm-install added: | |
if [[ -s /Users/sladd/.rvm/scripts/rvm ]] ; then source /Users/sladd/.rvm/scripts/rvm ; fi | |
proml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment