Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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