From 3e4613fd66aef2cb8e9b137e4a08880fb5c3dc17 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Sun, 28 Sep 2014 16:04:37 -0700 Subject: [PATCH] Don't output `nvm deactivate` output when running `nvm use system` --- nvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvm.sh b/nvm.sh index 03ac31a..e1ef5df 100644 --- a/nvm.sh +++ b/nvm.sh @@ -667,7 +667,7 @@ nvm() { fi else if [ $2 = 'system' ]; then - if nvm_has_system_node && nvm deactivate; then + if nvm_has_system_node && nvm deactivate >/dev/null; then echo "Now using system version of node: $(node -v 2>/dev/null)." return else