From 42b010775b95455c8ff1f3b17c29f1a2af4644ed Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Mon, 14 Jul 2014 11:42:10 -0700 Subject: [PATCH] Add `system` support to `nvm_print_versions` --- nvm.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nvm.sh b/nvm.sh index 609474d..cc3f4d2 100644 --- a/nvm.sh +++ b/nvm.sh @@ -251,6 +251,8 @@ nvm_print_versions() { FORMAT='\033[0;32m-> %9s\033[0m' elif [ -d "$NVM_DIR/$VERSION" ]; then FORMAT='\033[0;34m%12s\033[0m' + elif [ "$VERSION" = "system" ]; then + FORMAT='\033[0;33m%12s\033[0m' else FORMAT='%12s' fi