Merge 387d92cd4d5b452175dd2df837f24adf25789331 into 14acd3dcdd400fba1e4c2b361a8d3a042aa637e2

This commit is contained in:
Chris Seitz 2024-08-04 06:54:27 -04:00 committed by GitHub
commit ee3577e876
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

3
nvm.sh
View File

@ -2995,6 +2995,9 @@ nvm() {
--) break ;; --) break ;;
'-h'|'help'|'--help') '-h'|'help'|'--help')
NVM_NO_COLORS="" NVM_NO_COLORS=""
if [[ "$NVM_NO_HELP" -eq 1 ]]; then
break;
fi
for j in "$@"; do for j in "$@"; do
if [ "${j}" = '--no-colors' ]; then if [ "${j}" = '--no-colors' ]; then
NVM_NO_COLORS="${j}" NVM_NO_COLORS="${j}"