[readme] Fix fish load_nvm function

Bram Wubs 2020-07-07 08:29:00 +02:00 committed by Jordan Harband
parent d2d232ea2b
commit f6d11bae41
No known key found for this signature in database
GPG Key ID: 9F6A681E35EF8B56
1 changed files with 1 additions and 1 deletions

View File

@ -564,7 +564,7 @@ function load_nvm --on-variable="PWD"
if test -n "$nvmrc_path"
set -l nvmrc_node_version (nvm version (cat $nvmrc_path))
if test "$nvmrc_node_version" = "N/A"
nvm install $nvmrc_node_version
nvm install (cat $nvmrc_path)
else if test nvmrc_node_version != node_version
nvm use $nvmrc_node_version
end