aboutsummaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorxero <x@xero.nu>2015-04-18 14:44:29 -0400
committerxero <x@xero.nu>2015-04-18 14:44:29 -0400
commit48a49083115a7bd3478a0259ee1a1f52a1612ee9 (patch)
tree1ba39f458a25524d7f7b4c1ecf6c3e78f0516527 /zsh
parent6aff852d5aaa9ad6fed1e3d44cee375d5a68a9fd (diff)
downloaddotfiles_ascii-48a49083115a7bd3478a0259ee1a1f52a1612ee9.tar.xz
dotfiles_ascii-48a49083115a7bd3478a0259ee1a1f52a1612ee9.zip
add some nodejs aliases
Diffstat (limited to 'zsh')
-rwxr-xr-xzsh/.zsh/nodejs.zsh6
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"