Open oschrenk opened 1 week ago
Ah. Using search term direnv showed me
https://github.com/jorgebucaran/nvm.fish/issues/131
It seems that nvm 2.x is not working with direnv
For that matter it also means i can't run it via https://taskfile.dev I think.
This is not reporting a defect more of a curiosity I think , so feel free to ignore/close
I am looking for advice on how to run
nvm.fish
from an.envrc
file loaded viadirenv
.The
.envrc
file:But nvm seems to default to the system version. The output:
While
nvm list
does pick up the right version. The subsequentnvm use
seems to ignore it. I am pretty sure this has to do with some shell shenanigans, as runningnvm use v16.16.0
directly works.Interestingly enough, when using a wrong version:
will result in
so
nvm
does parse the version but for some reason doesn't use it in this context.