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

Allow setting path to nvm install dir. #3822

Closed
wants to merge 1 commit into from

Conversation

wtcross
Copy link

@wtcross wtcross commented Apr 28, 2015

This PR is a very small change to the nvm plugin.

The plugin is now closer to the code that the nvm install script puts in the .bashrc file by default. This allows for specifying where nvm is installed so that global installs can be achieved. The plugin now looks for the NVM_DIR environment variable that should contain the nvm install path. The default value is ~/.nvm to not break config of people using this plugin.

- same behavior as the two lines the nvm install script puts in bashrc
- set NVM_DIR to path where nvm is installed
- allows for global installs in /opt or /usr/local
@mcornella
Copy link
Member

Fixed on master.

@mcornella mcornella closed this Aug 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants