Skip to content

Instantly share code, notes, and snippets.

@drewdeponte
Created March 1, 2011 00:09
Show Gist options
  • Save drewdeponte/848336 to your computer and use it in GitHub Desktop.
Save drewdeponte/848336 to your computer and use it in GitHub Desktop.
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"
@mgenereu
Copy link

mgenereu commented Mar 1, 2011

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$ '

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment