Created
November 3, 2008 00:12
-
-
Save jackdempsey/21772 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| 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 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment