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

[Fix] Determine correct sub directory if XDG_CONFIG_HOME is set #2035

Merged
merged 1 commit into from
May 5, 2019

Conversation

bastiaf
Copy link
Contributor

@bastiaf bastiaf commented Apr 28, 2019

With the environment variable XDG_CONFIG_HOME set, the installation
script uses the directory $XDG_CONFIG_HOME/nvm now. Before the change
the variable's value with "/nvm" cut off was used, which usually results
in an installation without any subdirectory.

With the environment variable XDG_CONFIG_HOME set, the installation
script uses the directory $XDG_CONFIG_HOME/nvm now. Before the change
the variable's value with "/nvm" cut off was used, which usually results
in an installation without any subdirectory.
Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

install.sh Outdated Show resolved Hide resolved
@ljharb ljharb added bugs Oh no, something's broken :-( installing node Issues with installing node/io.js versions. labels Apr 29, 2019
@ljharb
Copy link
Member

ljharb commented Apr 29, 2019

Related to #2033.

@ljharb ljharb force-pushed the fix_install_dir branch 2 times, most recently from a4caa2c to 45c1b84 Compare May 5, 2019 05:38
@ljharb ljharb merged commit 45c1b84 into nvm-sh:master May 5, 2019
@NKjoep NKjoep mentioned this pull request Nov 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugs Oh no, something's broken :-( installing node Issues with installing node/io.js versions.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants