From 603fe02319f5ffb6fff852af8153f8671fedfbe2 Mon Sep 17 00:00:00 2001 From: sundowndev Date: Sat, 25 May 2019 19:00:09 +0200 Subject: [PATCH] nvm loader --- zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zshrc b/zshrc index f1f4c1f..76f929c 100644 --- a/zshrc +++ b/zshrc @@ -102,3 +102,7 @@ source $ZSH/oh-my-zsh.sh #fpath+=('/home/sundowndev/.npm-global/lib/node_modules/pure-prompt/functions') #autoload -U promptinit; promptinit #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