[Docs]: Tell mac user to try again with zsh in the command

This commit is contained in:
Hung Viet Nguyen 2021-01-22 15:03:10 +07:00
parent 015623ee6d
commit bc6b8f64e7
No known key found for this signature in database
GPG Key ID: 5B03A3023E1801E1

View File

@ -96,7 +96,7 @@ Since OS X 10.9, `/usr/bin/git` has been preset by Xcode command line tools, whi
If you get `nvm: command not found` after running the install script, one of the following might be the reason: If you get `nvm: command not found` after running the install script, one of the following might be the reason:
- Since macOS 10.15, the default shell is `zsh` and nvm will look for `.zshrc` to update, none is installed by default. Create one with `touch ~/.zshrc` and run the install script again. - Since macOS 10.15, the default shell is `zsh` and nvm will look for `.zshrc` to update, none is installed by default. Create one with `touch ~/.zshrc` and run the [install script](#install--update-script) again with `zsh` instead of `bash` in the command.
- If you use bash, the previous default shell, run `touch ~/.bash_profile` to create the necessary profile file if it does not exist. - If you use bash, the previous default shell, run `touch ~/.bash_profile` to create the necessary profile file if it does not exist.