-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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 deactivate should clear all environment variables in NVM namespace #1399
Comments
I think rather than dynamically listing the env vars in the implementation, I'll modify the existing test to do that. |
(I'd expect, however, |
Thank you for your quick answer. A bit unrelated, but while your at it, after a # nvm unload
# env | grep -i nvm
PATH=/Users/leipert/.nvm/versions/node/v6.9.5/bin:/usr/local/bin:/usr/local/sbin:
MANPATH=/Users/leipert/.nvm/versions/node/v6.9.5/share/man:/usr/local/opt/coreutils/libexec/gnuman
NVM_RC_VERSION=6.9.5 |
so actually Certainly |
… needed. Relates to nvm-sh#1399.
Operating system and version:
OSX Sierra 10.12.3
nvm debug
output:nvm ls
output:nvm
? (e.g. install script in readme, homebrew):README
As per description of
nvm deactivate
I expected nvm to unset all environment variables related to nvm. Apparently this did not happen. Proposed solution, add this tonvm deactivate
:.bashrc
,.bash_profile
,.zshrc
, etc) that modifies thePATH
?no
The text was updated successfully, but these errors were encountered: