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

Update commands for command nvm in bash #2022

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
2 participants
@laugustofrontend
Copy link

laugustofrontend commented Mar 24, 2019

  • change mode for command for install nvm in home
  • insert command for bash completion
Update commands for command nvm in bash
- change mode for command for install nvm in home
- insert command for bash completion
@@ -61,8 +61,9 @@ wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh |
<sub>**Note:** If the environment variable `$XDG_CONFIG_HOME` is present, it will place the `nvm` files there.</sub>

```sh
export NVM_DIR="${XDG_CONFIG_HOME/:-$HOME/.}nvm"
export NVM_DIR="$HOME/.nvm"

This comment has been minimized.

Copy link
@ljharb

ljharb Apr 7, 2019

Collaborator

This should be reverted; otherwise the statement above won't be correct.

Suggested change
export NVM_DIR="$HOME/.nvm"
export NVM_DIR="${XDG_CONFIG_HOME/:-$HOME/.}nvm"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.