From 16d73879dce97d1bdfcade5bcd251c9732640daf Mon Sep 17 00:00:00 2001 From: Joe Wroten Date: Mon, 6 Mar 2017 16:01:15 -0600 Subject: [PATCH] nvm auto use --- zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zshrc b/zshrc index 129a31f..c40160d 100644 --- a/zshrc +++ b/zshrc @@ -17,6 +17,7 @@ setopt correctall alias git status='nocorrect git status' # Plugins +export NVM_AUTO_USE=true if [[ ! -f ~/.antigen.zsh ]]; then curl https://raw.githubusercontent.com/zsh-users/antigen/master/antigen.zsh > ~/.antigen.zsh fi @@ -25,3 +26,7 @@ source ~/.antigen.zsh antigen bundle zsh-users/zsh-syntax-highlighting antigen bundle zsh-users/zsh-autosuggestions antigen bundle git +antigen bundle lukechilds/zsh-nvm + +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm