From 547f50a137b35cd07f4592a860221d3dbde865c6 Mon Sep 17 00:00:00 2001 From: ryenus Date: Mon, 15 Jul 2024 14:45:57 +0800 Subject: [PATCH] avoid inline initialization for ksh compatibility Co-authored-by: Jordan Harband --- nvm.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nvm.sh b/nvm.sh index 228e331..6d7d318 100644 --- a/nvm.sh +++ b/nvm.sh @@ -4013,7 +4013,8 @@ nvm() { ;; "ls-remote" | "list-remote") local NVM_LTS - local NVM_MIN="${NVM_MIN-}" + local NVM_MIN + NVM_MIN="${NVM_MIN-}" local PATTERN local NVM_NO_COLORS