diff options
Diffstat (limited to '')
-rwxr-xr-x | dotfiles/zsh/nodejs.zsh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dotfiles/zsh/nodejs.zsh b/dotfiles/zsh/nodejs.zsh new file mode 100755 index 0000000..4f95e1e --- /dev/null +++ b/dotfiles/zsh/nodejs.zsh @@ -0,0 +1,24 @@ +# ██ +# ░██ +# ██████ ██████░██ +# ░░░░██ ██░░░░ ░██████ +# ██ ░░█████ ░██░░░██ +# ██ ░░░░░██░██ ░██ +# ██████ ██████ ░██ ░██ +# ░░░░░░ ░░░░░░ ░░ ░░ +# +# ▓▓▓▓▓▓▓▓▓▓ +# ░▓ author ▓ xero <x@xero.nu> +# ░▓ code ▓ http://code.xero.nu/dotfiles +# ░▓ mirror ▓ http://git.io/.files +# ░▓▓▓▓▓▓▓▓▓▓ +# ░░░░░░░░░░ +# +#█▓▒░ 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" |