Last active
December 4, 2017 15:07
-
-
Save chris-burgin/d4b1e6c66eea470f03cfe11dffe5ee4a to your computer and use it in GitHub Desktop.
Aliases I use on a daily basis to make my life just a bit easier.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Place these in your ZSH or BASH config | |
# Other | |
alias please='sudo $(fc -ln -1)' # runs the previous command with `sudo` | |
# Editors | |
alias c="code ." # open the current directory in vscode | |
alias v="vim" # vim shortcut | |
# npm | |
alias nr="npm run " # npm run shortcut | |
# zsh | |
alias zrc="vim ~/.zshrc" # shortcut to edit zsh config | |
alias szrc="source ~/.zshrc" # shortcut to source zsh config | |
# Git | |
alias gac="git add . && gc" # stage everything and commit in git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment