From 03e0195068cde824472506f21c58bde9be45d339 Mon Sep 17 00:00:00 2001 From: Danny Neumann Date: Thu, 27 Jan 2022 10:53:36 -0800 Subject: [PATCH] Update README.md Add note about creating .bashrc file *as well as* .bash_profile. My problem was that I didn't have EITHER file, and hopefully the notes will help someone else reading the docs. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 386481b..fe7637f 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ If you get `nvm: command not found` after running the install script, one of the - 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. - - If you use bash, the previous default shell, your system may not have a `.bash_profile` file where the command is set up. Create one with `touch ~/.bash_profile` and run the install script again. Then, run `source ~/.bash_profile` to pick up the `nvm` command. + - If you use bash, the previous default shell, your system may not have `.bash_profile` or `.bashrc` files where the command is set up. Create them with `touch ~/.bash_profile ~/.bashrc` and run the install script again. Then, run `source ~/.bash_profile` to pick up the `nvm` command. - You have previously used `bash`, but you have `zsh` installed. You need to manually add [these lines](#manual-install) to `~/.zshrc` and run `. ~/.zshrc`.