Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NVM not using default version #23

Closed
kenecaswell opened this issue Apr 2, 2021 · 1 comment
Closed

NVM not using default version #23

kenecaswell opened this issue Apr 2, 2021 · 1 comment

Comments

@kenecaswell
Copy link

Thanks in advance! Here's my issue: When using oh-my-fish and this nvm plugin, I can set 'default' to be the version of node I want. However, nvm is defaulting to 'system' instead of 'default'. I can switch which version of node I'm using, but whenever I start up a new terminal nvm reverts back to 'system'. I've also tried creating an alias for system, but that didn't work. How can I get nvm to remember what my default is? Attached is a screenshot to illustrate my problem.

omf-nvm-default

@kenecaswell
Copy link
Author

Ah, found this that automatically sets my node version: https://gist.github.com/eugenet8k/535bf3c51d1fc7c31cb8784e55d4dae4#calling-nvm-use-automatically-in-a-directory-with-a-nvmrc-file

Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant