diff options
author | neodarz <neodarz@neodarz.net> | 2019-09-09 07:02:56 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2019-09-09 07:02:56 +0200 |
commit | 9f810eec6a98011b551c40f8686b88a4fb0b0862 (patch) | |
tree | 7ebe73f5cd8388c6bf46ce78b7033bc18efc6687 /dotfiles/zsh/nodejs.zsh | |
parent | 0a7be29623c8e722107b2d53fe524c6d65f70588 (diff) | |
download | dotfiles_dotdrop-9f810eec6a98011b551c40f8686b88a4fb0b0862.tar.xz dotfiles_dotdrop-9f810eec6a98011b551c40f8686b88a4fb0b0862.zip |
Add zsh config
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" |