Skip to content

Instantly share code, notes, and snippets.

@curiouscrusher
Last active October 19, 2015 13:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save curiouscrusher/4f2428e0f6d49007ba92 to your computer and use it in GitHub Desktop.
Save curiouscrusher/4f2428e0f6d49007ba92 to your computer and use it in GitHub Desktop.
Some cool bash alias'
alias trash="rm -rf ~/.Trash"
alias sites="cd ~/Sites"
alias cc="rm -rf var/cache var/full_page_cache var/session"
alias apache="sudo apachectl restart"
alias brup="brew update && brew upgrade && brew cleanup && brew prune && brew doctor"
alias wordpress="wget http://wordpress.org/latest.tar.gz"
alias wp-cleanup="tar --strip-components=1 -xzvf latest.tar.gz && trash latest.tar.gz"
alias gut="git"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment