Skip to content

Commit

Permalink
docs: change nvm.sh loading script
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Feb 23, 2021
1 parent e011e76 commit 6b626f7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,9 @@ For example, for `nvm` that would be:

```shell
# ~/.huskyrc
# this loads nvm.sh and sets the correct PATH before running hook
. ~/.nvm/nvm.sh
# This loads nvm.sh and sets the correct PATH before running hook
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
```

## Hooks not running
Expand Down

0 comments on commit 6b626f7

Please sign in to comment.