[Fix] nvm ls: --no-colors: system: print an asterisk
This commit is contained in:
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
|
||||||
|
|||||||
Reference in New Issue
Block a user