From 48a49083115a7bd3478a0259ee1a1f52a1612ee9 Mon Sep 17 00:00:00 2001 From: xero Date: Sat, 18 Apr 2015 14:44:29 -0400 Subject: add some nodejs aliases --- zsh/.zsh/nodejs.zsh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zsh/.zsh/nodejs.zsh b/zsh/.zsh/nodejs.zsh index 269109e..fb762b5 100755 --- a/zsh/.zsh/nodejs.zsh +++ b/zsh/.zsh/nodejs.zsh @@ -16,3 +16,9 @@ # #█▓▒░ node version manager source ~/.nvm/nvm.sh + +#█▓▒░ aliases +alias node="sudo node" +alias npm="sudo npm" +alias npminstall="sudo rm -rf node_modules && sudo npm cache clear && sudo npm cache clean && npm install" +# alias npminstall="sudo rm -rf node_modules && sudo npm cache clear && sudo npm cache clean && sudo PYTHON=/usr/bin/python2 npm install" -- cgit v1.2.1