-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
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 alias default not working as expected #3354
Comments
In the dir you're opening the shell, is there a |
There is no |
Weird, please reopen if it happens again. |
Just a note, this happened again, when having version 16 as default and setting 18 as the new default. Last time I thought there was an update that needed a system restart, but this time there was no update. However, the problem went away again with a restart. The steps I took this time was:
For now I cannot inspect this any further, but I will make a note in the future if I notice anything |
Thanks. It would have been helpful to know what the value of |
I have checked the |
@attisimon "reset to the last used value" is bizarre and not how nvm is supposed to work, i'd love to look through your profile files if that's an option :-) |
We could also say that the new settings "do not stick", which sounds even more bizarre :)
I also have Is there any other file I should look for? |
Does SUSE have some kind of feature where it preserves the PATH and/or shell environment across sessions? |
I don't have a I am not sure about such a SUSE feature, it would be strange though. Maybe I will open a thread in their forums to double-check. |
Hi, It looked like I had multiple init of nvm from |
Operating system and version:
openSUSE Tumbleweed 20240514 (KDE, Wayland)
nvm debug
output:nvm ls
output:How did you install
nvm
?script in readme:
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
What steps did you perform?
lts/hydrogen
What happened?
Every new shell defaults to 16 instead of 18, I have to manually set the default with
nvm use default
What did you expect to happen?
The default version to load by default :) in every new shell.
Is there anything in any of your profile files that modifies the
PATH
?.bashrc:
The text was updated successfully, but these errors were encountered: