Skip to content

Instantly share code, notes, and snippets.

@andyyou
Created February 7, 2013 13:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andyyou/4730995 to your computer and use it in GitHub Desktop.
Save andyyou/4730995 to your computer and use it in GitHub Desktop.
bash_profile
# Load other application
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
if [ -f ~/.git-prompt.sh ]; then
source ~/.git-prompt.sh
export PS1='Geoff[\W]$(__git_ps1 "(%s)"): '
fi
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
# Add RVM bath to paths
source /Users/andy/.rvm/scripts/rvm
export PS1="\[\033[1;32m\]\u@\h \[\033[1;33m\] \W\[\033[1;36m\]\$(__git_ps1 ':%s ') $ \[\033[0m\]"
# Alias
alias gs='git status '
alias ga='git add '
alias gb='git branch '
alias gc='git commit '
alias gd='git diff '
alias go='git checkout '
alias gk='gitk --all&'
alias gx='gitx --all'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment