FabioAntunes / fish-nvm

nvm wrapper for fish-shell
MIT License
513 stars 20 forks source link

.nvmrc should be searched by traversing the directory tree up #61

Open PegasisForever opened 2 years ago

PegasisForever commented 2 years ago

fish-nvm should include parent directories when searching .nvmrc.

For example:

$ echo 14 > .nvmrc
$ cd child
$ node -v
   # still 16

Somewhere related: jorgebucaran/nvm.fish#45

FabioAntunes commented 1 year ago

I won't be picking this up in the following months, maybe after summer. Feel free to open a PR if you need this sooner.