bramus / freshinstall

Automatically configure and install software onto your new Mac
https://www.bram.us/2018/01/08/setting-up-macos-with-freshinstall/
MIT License
106 stars 15 forks source link

NVM not loading default version properly #11

Closed bramus closed 2 years ago

bramus commented 6 years ago

Open a new terminal window and the default version is not loaded, cfr. https://github.com/creationix/nvm/issues/758

Perhaps a clue in https://stackoverflow.com/questions/24585261/nvm-keeps-forgetting-node-in-new-terminal-session can be found.

bramus commented 6 years ago

Confirmed that by manually moving the NVM related lines from .bashrc to the bottom of .bash_profile (or at least after the last export PATH= line) fixes this …

bramus commented 2 years ago

Switched to zsh+nvm plugin.