nvm loader

master
sundowndev 2019-05-25 19:00:09 +02:00
parent c0d9baaaee
commit 603fe02319
1 changed files with 4 additions and 0 deletions

4
zshrc
View File

@ -102,3 +102,7 @@ source $ZSH/oh-my-zsh.sh
#fpath+=('/home/sundowndev/.npm-global/lib/node_modules/pure-prompt/functions') #fpath+=('/home/sundowndev/.npm-global/lib/node_modules/pure-prompt/functions')
#autoload -U promptinit; promptinit #autoload -U promptinit; promptinit
#prompt pure #prompt pure
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion