From 0fccfd640c218eba3dc1934760d510be6f3a42a8 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Thu, 22 Dec 2016 13:26:45 -0500 Subject: [PATCH] Nodenv over nvm --- zshrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zshrc b/zshrc index 981b1ba..c8896d6 100644 --- a/zshrc +++ b/zshrc @@ -32,9 +32,9 @@ if test -d "$HOME/.rbenv"; then eval "$(rbenv init -)" fi -# load nvm -if test -d "$NVM_DIR"; then - source "$NVM_DIR/nvm.sh" +# init nodenv +if which nodenv > /dev/null; then + eval "$(nodenv init -)"; fi # completion