Browse Source

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

Jordan Harband 6 years ago
parent
commit
7f9220dbd8
No known key found for this signature in database
GPG Key ID: 64A196AEE0916D55
  1. 2
      nvm.sh

2
nvm.sh

@ -1433,6 +1433,8 @@ nvm_print_versions() { @@ -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

Loading…
Cancel
Save