Add `system` support to `nvm_print_versions`
parent
1c50c5c7aa
commit
42b010775b
2
nvm.sh
2
nvm.sh
|
@ -251,6 +251,8 @@ nvm_print_versions() {
|
||||||
FORMAT='\033[0;32m-> %9s\033[0m'
|
FORMAT='\033[0;32m-> %9s\033[0m'
|
||||||
elif [ -d "$NVM_DIR/$VERSION" ]; then
|
elif [ -d "$NVM_DIR/$VERSION" ]; then
|
||||||
FORMAT='\033[0;34m%12s\033[0m'
|
FORMAT='\033[0;34m%12s\033[0m'
|
||||||
|
elif [ "$VERSION" = "system" ]; then
|
||||||
|
FORMAT='\033[0;33m%12s\033[0m'
|
||||||
else
|
else
|
||||||
FORMAT='%12s'
|
FORMAT='%12s'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue