Add `system` support to `nvm_print_versions`

master
Jordan Harband 2014-07-14 11:42:10 -07:00
parent 1c50c5c7aa
commit 42b010775b
1 changed files with 2 additions and 0 deletions

2
nvm.sh
View File

@ -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