alias clean_gems='for i in `gem list merb | cut -f1 -d" " | grep merb | xargs`; do sudo gem cleanup $i --quiet; done'
alias up='[ -d .svn ] && svn up || (git fetch && git rebase origin/master)'
alias rmt="find . -name '*~' -exec rm {} \;"

export PS1='\w `git-branch 2>&1 | grep "*" | awk -F" " "{print \\\$2}"`\$ '


source ~/bin/cdargs-bash.sh # located at http://gist.github.com/21769
source ~/bin/git-completion.bash # located at http://gist.github.com/21770
complete -o default -o nospace -F _git_checkout gco
complete -o default -o nospace -F _git_branch gb