Skip to content

Instantly share code, notes, and snippets.

@khanhtran3005
Last active August 29, 2015 14:24
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 khanhtran3005/7956086bff14212c848e to your computer and use it in GitHub Desktop.
Save khanhtran3005/7956086bff14212c848e to your computer and use it in GitHub Desktop.
  • For normal bash shell

    sudo nano ~/.bashrc

  • For zsh

    sudo nano ~/.zshrc

  • Add any aliases you want:

    e.g.

    alias plsv='pull localsv'

    alias golsv='push localsv'

    alias rsapache='sudo service apache2 restart'

  • Save file.

  • Close and reopen terminal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment