Skip to content

Instantly share code, notes, and snippets.

@raahede
Last active August 29, 2015 14:22
Show Gist options
  • Save raahede/d934447d93b795ecc821 to your computer and use it in GitHub Desktop.
Save raahede/d934447d93b795ecc821 to your computer and use it in GitHub Desktop.
ZSH Configure

Open zsh config in Sublime

subl ~/.zshrc

Add aliases

# Example aliases
alias zshconfig="subl ~/.zshrc"
alias ohmyzsh="subl ~/.oh-my-zsh"

# Git shortcuts
alias gst='git status'
alias add='git add'
alias ci='git commit -m'
alias cia='git commit -am'
alias co='git checkout'
alias push='git push'
alias pull='git pull'
alias pick='git cherry-pick'

# Sites shortcuts
alias tosites='cd ~/Sites'

# Other shortcuts
alias serve='python -m SimpleHTTPServer'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment