Skip to content

Instantly share code, notes, and snippets.

@khanhtran3005
Last active Aug 29, 2015
Embed
What would you like to do?
  • 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