[Fix] nvm ls: --no-colors: system: print an asterisk

This commit is contained in:
Jordan Harband 2019-02-23 14:41:57 -08:00
parent 890fbb5581
commit 7f9220dbd8
No known key found for this signature in database
GPG Key ID: 64A196AEE0916D55

2
nvm.sh
View File

@ -1433,6 +1433,8 @@ nvm_print_versions() {
elif [ "${VERSION}" = "system" ]; then
if [ "${NVM_HAS_COLORS-}" = '1' ]; then
FORMAT='\033[0;33m%15s\033[0m'
else
FORMAT='%15s *'
fi
elif nvm_is_version_installed "${VERSION}"; then
if [ "${NVM_HAS_COLORS-}" = '1' ]; then