Created
March 1, 2011 00:09
-
-
Save drewdeponte/848336 to your computer and use it in GitHub Desktop.
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 EDITOR="/usr/bin/mate -w" | |
# Git aliases | |
alias gs='git status' | |
alias gd='git diff | mate' | |
alias gb='git branch' | |
# Bundle aliases | |
alias be='bundle exec' | |
alias bec='be cucumber -f pretty' | |
alias bes='be rspec --color --drb' | |
source ~/.git-completion.sh | |
GIT_PS1_SHOWDIRTYSTATE="yes" | |
GIT_PS1_SHOWSTASHSTATE="yes" | |
GIT_PS1_SHOWUNTRACKEDFILES="yes" | |
GIT_PS1_SHOWUPSTREAM="auto" | |
PS1='[\W$(__git_ps1 " (%s)")]\$ ' | |
export MAGICK_HOME="/opt/local/ImageMagick-6.6.5" | |
export PATH="$MAGICK_HOME/bin:/usr/local/mysql/bin:$PATH" | |
export DYLD_LIBRARY_PATH="$MAGICK_HOME/lib:/usr/local/mysql/lib:$DYLD_LIBRARY_PATH" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the color version I use:
PS1='[\033[01;32m]\u@\h[\033[00m]:[\033[01;34m]\w[\033[31m]$(__git_ps1)[\033[00m]\n$ '