From 159327ff2572d763e9553987f26b4abf0f7a19f8 Mon Sep 17 00:00:00 2001 From: Ivan Pozdeev Date: Wed, 2 Jun 2021 00:04:26 +0300 Subject: [PATCH] Add explicit instructions for Zsh in MacOS Indirect ones with errata have proven to confuse users. Fixes #1947, #1948 --- README.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ca98f84d..bbfd1044 100644 --- a/README.md +++ b/README.md @@ -263,8 +263,24 @@ easy to fork and contribute any changes back upstream. - For **Zsh**: - Same as for Bash above, but add the commands into both `~/.profile` - and `~/.zprofile`. + - **MacOS, if Pyenv is installed with Homebrew:** + + ~~~ zsh + echo 'eval "$(pyenv init --path)"' >> ~/.zprofile + ~~~ + + - **MacOS, if Pyenv is installed with a Git checkout:** + + ~~~ zsh + echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zprofile + echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.zprofile + echo 'eval "$(pyenv init --path)"' >> ~/.zprofile + ~~~ + + - **Other OSes:** + + Same as for Bash above, but add the commands into both `~/.profile` + and `~/.zprofile`. - For **Fish shell**: