jorgebucaran / nvm.fish

The Node.js version manager you'll adore, crafted just for Fish
https://git.io/nvm.fish
MIT License
2.06k stars 69 forks source link

feat: create local .nvmrc #209

Closed miaobuao closed 1 year ago

jorgebucaran commented 1 year ago

Is this feature supported by nvm.sh? When would it be preferable over using node --version > .nvmrc?

miaobuao commented 1 year ago

Is this feature supported by nvm.sh

no,it isnt

When would it be preferable over using node --version > .nvmrc

it is shorter i think

jorgebucaran commented 1 year ago

Just one character shorter? I'm not convinced that's a strong enough reason to introduce a new flag. Redirecting to a file is a pretty standard practice, so I don't see this feature as particularly useful. Plus, we might encounter a slight dilemma: why prioritize .nvmrc over .node-version? I think I'll pass on this one, but I appreciate your interest and contribution! 🤘