lukechilds / zsh-nvm

Zsh plugin for installing, updating and loading nvm
MIT License
2.22k stars 112 forks source link

nvm dont use default version in new terminals - VScode terminal #71

Open luizwhite opened 3 years ago

luizwhite commented 3 years ago

Hi! I don't understand too well the zshrc config file, or PATH settings, so be patient with me :) I just want to know why VScode dont use default version in new terminals

I use WSL2 on Windows, and its extension for VScode

I checked a lot of solutions, including:

After that, I realized that my "Windows Terminal" (the new one) remembers the default node version in my WSL distro, but my VScode terminal dont How is that possible?

Can anyone help me with this? I dont really even know how to start looking for this problem..

(sry my bad english)

luizwhite commented 3 years ago

You may close this, after reboot, the vscode terminal started to persist the default node version

tjx666 commented 3 years ago

not only VSCode terminal, also in iterm2

MagnusBrzenk commented 2 years ago

I am getting this problem. I am loading with plugins=(git zsh-autosuggestions zsh-nvm) in my .zshrc file, and my new window panes in tmux, and new tabs in iterm2, always default to node 14, while I want node 16. I have tried all sorts of combinations like nvm use default 16. Nothing works.