avoid inline initialization for ksh compatibility

Co-authored-by: Jordan Harband <ljharb@gmail.com>
This commit is contained in:
ryenus 2024-07-15 14:45:57 +08:00
parent 594f8c0a80
commit e71918ec8c

3
nvm.sh
View File

@ -4135,7 +4135,8 @@ nvm() {
;; ;;
"ls-remote" | "list-remote") "ls-remote" | "list-remote")
local NVM_LTS local NVM_LTS
local NVM_MIN="${NVM_MIN-}" local NVM_MIN
NVM_MIN="${NVM_MIN-}"
local PATTERN local PATTERN
local NVM_NO_COLORS local NVM_NO_COLORS