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 alias default vNODE to synlink too #922

Closed
EthraZa opened this issue Dec 2, 2015 · 2 comments
Closed

nvm alias default vNODE to synlink too #922

EthraZa opened this issue Dec 2, 2015 · 2 comments
Labels
feature requests I want a new feature in nvm! non-issue / invalid This isn't relevant to nvm, or turned out to be something unrelated.

Comments

@EthraZa
Copy link

EthraZa commented Dec 2, 2015

To make my life easy I'm seeing myself symlink the dedault node when I change it. I'm doing that because I need to set some PATH variables in some scripts and it is easier to point then to a fix location so I don't need to change all when I change node version.

So everytime I

nvm alias default vNODE

I do too

cd .nvm/versions/node
ln -s vNODE default

Do it make sense for the rest of you guys too?
If so, would not be cool if "nvm alias default" command symlink the node folder for us too?

@ljharb
Copy link
Member

ljharb commented Dec 2, 2015

No - this was a feature that was added previously, and later removed. nvm is meant to be per-shell - having a symlink on the filesystem for the "current" node breaks in an environment with multiple shell tabs.

@ljharb ljharb closed this as completed Dec 2, 2015
@ljharb ljharb added feature requests I want a new feature in nvm! non-issue / invalid This isn't relevant to nvm, or turned out to be something unrelated. labels Dec 2, 2015
@ljharb
Copy link
Member

ljharb commented Dec 2, 2015

Duplicate of #851.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature requests I want a new feature in nvm! non-issue / invalid This isn't relevant to nvm, or turned out to be something unrelated.
Projects
None yet
Development

No branches or pull requests

2 participants