Skip to content

Instantly share code, notes, and snippets.

@faizaanshamsi
Last active February 13, 2017 15:30
Show Gist options
  • Save faizaanshamsi/614e72e4ba8c2669d04e to your computer and use it in GitHub Desktop.
Save faizaanshamsi/614e72e4ba8c2669d04e to your computer and use it in GitHub Desktop.
Creating Aliases for ZSH
  1. Open your .oh-my-zsh file in Sublime: subl ~/.oh-my-zsh

  2. Find lib/aliases.zsh

  3. Add aliases in the following manner: alias [shortcut]='[what you would type into terminal]'


alias ohmyzsh='subl ~/.oh-my-zsh'
alias programs='cd ~/dropbox/programs'
alias algos='cd ~/dropbox/programs/algos'
alias work='cd ~/dropbox/programs/work'
alias hal='cd ~/dropbox/programs/work/hal'
alias apollo='cd ~/dropbox/programs/work/apollo'
alias launch='cd ~/dropbox/programs/work/launchacademy'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment