Skip to content

Instantly share code, notes, and snippets.

@amster
Created March 18, 2011 18:21
Show Gist options
  • Save amster/876565 to your computer and use it in GitHub Desktop.
Save amster/876565 to your computer and use it in GitHub Desktop.
# Amy's Bash .profile or .bash_profile aliases
# Unix, Git, Memcached
alias cls='clear'
alias dir='ls -alF'
alias e='emacs -nw'
alias gitcp='git cherry-pick'
alias gitl='git log --pretty=oneline -3 --color --name-status | cat'
alias gitl25='git log --pretty=oneline -25 --color | cat'
alias gitlf='git log --pretty=full -5 --color --name-status | cat'
alias gits='git status'
alias memvv='memcached -vv'
alias purge='rm *~'
alias purger='rm `find . -name "*~"`'
alias tree='find . -print | sed -e '\''s;[^/]*/;|____;g;s;____|; |;g'\'''
# Mac OS X
alias docklock='defaults write com.apple.dock contents-immutable -bool true;killall Dock'
alias dockunlock='defaults write com.apple.dock contents-immutable -bool false;killall Dock'
# Rails
alias cuc='cucumber'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment