Prevent error when NVM is not installed

This commit is contained in:
Andrew Tomaka 2015-06-10 09:10:58 -04:00
parent 5b3d0c727e
commit f382b52406

4
zshrc
View file

@ -70,4 +70,6 @@ if test -d "$HOME/.rbenv/bin" ; then
fi fi
# load nvm # load nvm
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" if test -d "$NVM_DIR"; then
source "$NVM_DIR/nvm.sh"
fi