Last active
February 12, 2017 05:01
-
-
Save swordsreversed/975bfe3f1f28e7935a93b13bea928395 to your computer and use it in GitHub Desktop.
Bash aliases
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
alias l='ls -laht' | |
alias v='vim' | |
alias gs='git status' | |
alias ga='git add --all' | |
alias go='git push -u origin master' | |
alias gp='git pull' | |
sinstall() { | |
sudo apt-get install $1 | |
} | |
alias ins=sinstall | |
npminstall() { | |
npm i --save $1 | |
} | |
alias ni=npminstall | |
gclone() { | |
git clone $1 | |
} | |
alias gc=gclone | |
awsrun() { | |
ssh -i ~/sites/keys/amrap1.pem -R 52698:localhost:52698 $1 | |
} | |
alias aws=awsrun |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment