From c367d7daa04ff86137205b80dab4b66c271515fa Mon Sep 17 00:00:00 2001 From: legendecas Date: Mon, 28 Mar 2022 23:28:53 +0800 Subject: [PATCH] [Docs] fix fish load_nvm variable interpolations --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d16abce..462e524 100644 --- a/README.md +++ b/README.md @@ -655,7 +655,7 @@ function load_nvm --on-variable="PWD" set -l nvmrc_node_version (nvm version (cat $nvmrc_path)) if test "$nvmrc_node_version" = "N/A" nvm install (cat $nvmrc_path) - else if test nvmrc_node_version != node_version + else if test "$nvmrc_node_version" != "$node_version" nvm use $nvmrc_node_version end else if test "$node_version" != "$default_node_version"