Currently, the nvm example in the README.md file does not include the --no-use parameter when sourcing nvm. This leads to issues on subsequent calls if you have the default alias set. Each call to the function will reset the Node version back to default.
Including the --no-use flag prevents nvm from resetting the current version so that the fish nvm function will perform as expected.
Currently, the
nvm
example in theREADME.md
file does not include the--no-use
parameter when sourcingnvm
. This leads to issues on subsequent calls if you have thedefault
alias set. Each call to the function will reset the Node version back todefault
.Including the
--no-use
flag prevents nvm from resetting the current version so that the fishnvm
function will perform as expected.