Make commands shorter

This commit is contained in:
Anton Shubin 2016-08-09 22:40:33 +02:00 committed by GitHub
parent 0237441b32
commit 8fd7fbea4e

View File

@ -1,22 +1,21 @@
# Helpers # Helpers
alias df="df -h" # Disk free, in gigabytes, not bytes alias df="df -h" # Disk free, in gigabytes, not bytes
alias server="python -m SimpleHTTPServer" alias server="python -m SimpleHTTPServer"
alias o="open ." # Open folder in Finder alias o="open" # Open folder in Finder
# Applications # Applications
alias st="open -a 'SublimeText2'" # Open in SublimeText alias st="open -a 'SublimeText2'" # Open in SublimeText
# NPM # NPM
alias ni="npm i"
alias nig="npm i -g" alias nig="npm i -g"
alias nis="npm i --save" alias ni="npm i --save"
alias nisd="npm i --save-dev" alias nid="npm i --save-dev"
alias nup="npm update" alias nup="npm update"
alias nu="npm uninstall" alias nu="npm uninstall --save"
alias nud="npm uninstall --save-dev"
# Bower # Bower
alias bi="bower i" alias bi="bower i --save"
alias bis="bower i --save" alias bid="bower i --save-dev"
alias bisd="bower i --save-dev"
alias bup="bower update" alias bup="bower update"
alias bu="bower uninstall" alias bu="bower uninstall --save"