From a5742d4e9e316878a56187ce89a30f465f8e52e9 Mon Sep 17 00:00:00 2001 From: shiyutim Date: Thu, 7 Jan 2021 10:51:33 +0800 Subject: [PATCH] [readme] add install error tips --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index d391342..e6a99c2 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,8 @@ If you get `nvm: command not found` after running the install script, one of the - You might need to restart your terminal instance or run `. ~/.nvm/nvm.sh`. Restarting your terminal/opening a new tab/window, or running the source command will load the command and the new configuration. + - You have previously used `bash`, but you have `zsh` installed. You need to manually add [these lines](#manual-install) to `~/.zshrc` and run `. ~/.zshrc`. + If the above doesn't fix the problem, you may try the following: - If you use bash, it may be that your `.bash_profile` (or `~/.profile`) does not source your `~/.bashrc` properly. You could fix this by adding `source ~/` to it or follow the next step below.