diff options
author | xero <x@xero.nu> | 2015-04-18 14:44:29 -0400 |
---|---|---|
committer | xero <x@xero.nu> | 2015-04-18 14:44:29 -0400 |
commit | 48a49083115a7bd3478a0259ee1a1f52a1612ee9 (patch) | |
tree | 1ba39f458a25524d7f7b4c1ecf6c3e78f0516527 | |
parent | 6aff852d5aaa9ad6fed1e3d44cee375d5a68a9fd (diff) | |
download | dotfiles_ascii-48a49083115a7bd3478a0259ee1a1f52a1612ee9.tar.xz dotfiles_ascii-48a49083115a7bd3478a0259ee1a1f52a1612ee9.zip |
add some nodejs aliases
-rwxr-xr-x | zsh/.zsh/nodejs.zsh | 6 |
1 files changed, 6 insertions, 0 deletions
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" |