[Fix] `nvm ls`: `--no-colors`: `system`: print an asterisk
parent
890fbb5581
commit
7f9220dbd8
2
nvm.sh
2
nvm.sh
|
@ -1433,6 +1433,8 @@ nvm_print_versions() {
|
||||||
elif [ "${VERSION}" = "system" ]; then
|
elif [ "${VERSION}" = "system" ]; then
|
||||||
if [ "${NVM_HAS_COLORS-}" = '1' ]; then
|
if [ "${NVM_HAS_COLORS-}" = '1' ]; then
|
||||||
FORMAT='\033[0;33m%15s\033[0m'
|
FORMAT='\033[0;33m%15s\033[0m'
|
||||||
|
else
|
||||||
|
FORMAT='%15s *'
|
||||||
fi
|
fi
|
||||||
elif nvm_is_version_installed "${VERSION}"; then
|
elif nvm_is_version_installed "${VERSION}"; then
|
||||||
if [ "${NVM_HAS_COLORS-}" = '1' ]; then
|
if [ "${NVM_HAS_COLORS-}" = '1' ]; then
|
||||||
|
|
Loading…
Reference in New Issue