Skip to content

Instantly share code, notes, and snippets.

@cdl
Created May 8, 2014 23:43
Show Gist options
  • Save cdl/355e432645fb7fbd50f8 to your computer and use it in GitHub Desktop.
Save cdl/355e432645fb7fbd50f8 to your computer and use it in GitHub Desktop.
# Edit zshrc
alias zshrc='subl ~/.zshrc'
# Edit this file
alias aliases='subl ~/.aliases'
# Copy public SSH key
alias sshkey='cat ~/.ssh/id_rsa.pub | pbcopy && echo Your SSH key has been copied to the clipboard.'
# fuck
alias gs='git commit -am "fuck"'
# Laravel aliases
alias art='php artisan'
# Flush Directory Service cache
alias flushdns="dscacheutil -flushcache"
# Recursively delete `.DS_Store` files
alias cleanup="find . -type f -name '*.DS_Store' -ls -delete"
# Sometimes "stf"-TAB is quicker than reaching up to the mute key.
alias stfu="osascript -e 'set volume output muted true'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment