Skip to content

Commit

Permalink
[Docs] source ./nvm.sh instead of nvm.sh, for zsh
Browse files Browse the repository at this point in the history
Fixes #2204.
  • Loading branch information
huahuayu authored and ljharb committed Apr 27, 2020
1 parent 3c079f1 commit 10399ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ If you have `git` installed (requires git v1.7.10+):
1. clone this repo in the root of your user profile
- `cd ~/` from anywhere then `git clone https://github.com/nvm-sh/nvm.git .nvm`
1. `cd ~/.nvm` and check out the latest version with `git checkout v0.37.2`
1. activate `nvm` by sourcing it from your shell: `. nvm.sh`
1. activate `nvm` by sourcing it from your shell: `. ./nvm.sh`

Now add these lines to your `~/.bashrc`, `~/.profile`, or `~/.zshrc` file to have it automatically sourced upon login:
(you may have to add to more than one of the above files)
Expand Down

0 comments on commit 10399ed

Please sign in to comment.