Skip to content

Instantly share code, notes, and snippets.

@danielnmai
Created August 4, 2017 04:57
Show Gist options
  • Save danielnmai/cb77615fa4af2dd6eea9d5eb4bf90d8b to your computer and use it in GitHub Desktop.
Save danielnmai/cb77615fa4af2dd6eea9d5eb4bf90d8b to your computer and use it in GitHub Desktop.
The Difference Engine - What I learned
Create alias to make shortcut to regular-typed commands
Steps:
1. Go to root directory ( cd ~ )
2. Open the bash profile ( subl ~/.bash_profile )
3. Create alias for command shortcut (for example, the line /alias gs='git status'/ will add an alias "gs" to the command "git status", so you can use "gs" to achieve the same purpose as "git status"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment