mirror of
https://github.com/nvm-sh/nvm.git
synced 2026-02-04 08:52:48 +08:00
[readme] fix typo
This commit is contained in:
committed by
Jordan Harband
parent
81f13638d7
commit
4d364c2e7b
@@ -1040,7 +1040,7 @@ To change the user directory and/or account name follow the instructions [here](
|
||||
[Urchin]: https://git.sdf.org/tlevine/urchin
|
||||
[Fish]: https://fishshell.com
|
||||
|
||||
**Homebrew makes zsh directories unsecure**
|
||||
**Homebrew makes zsh directories insecure**
|
||||
|
||||
```shell
|
||||
zsh compinit: insecure directories, run compaudit for list.
|
||||
|
||||
@@ -31,7 +31,7 @@ check_version() {
|
||||
mkdir -p "$NODE_PATH/$VERSION/bin" && cd "$NODE_PATH/$VERSION/bin" && touch "$NODE_PATH/$VERSION/bin/$BINARY"
|
||||
! nvm_is_version_installed "$VERSION" || die "nvm_is_version_installed $VERSION should fail with non executable existing version"
|
||||
|
||||
# nvm_is_version_installed whould work
|
||||
# nvm_is_version_installed would work
|
||||
chmod +x "$NODE_PATH/$VERSION/bin/$BINARY"
|
||||
nvm_is_version_installed "$VERSION" || die "nvm_is_version_installed $VERSION should work"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user