From 4500a33c735f0eb3854b13c8d91880e7bfcd2013 Mon Sep 17 00:00:00 2001 From: Josh Friend Date: Fri, 10 Jan 2020 12:59:25 -0500 Subject: [PATCH] Modify zshrc instead of zshenv https://github.com/pyenv/pyenv/issues/1400#issuecomment-551371058 Closes #846, #1400, #1447, #1449 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c2db3277..8530f318 100644 --- a/README.md +++ b/README.md @@ -196,7 +196,7 @@ easy to fork and contribute any changes back upstream. $ echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile $ echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile ``` - - **Zsh note**: Modify your `~/.zshenv` file instead of `~/.bash_profile`. + - **Zsh note**: Modify your `~/.zshrc` file instead of `~/.bash_profile`. - **Ubuntu and Fedora note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`. - **Proxy note**: If you use a proxy, export `http_proxy` and `HTTPS_PROXY` too. @@ -206,7 +206,7 @@ easy to fork and contribute any changes back upstream. ```sh $ echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.bash_profile ``` - - **Zsh note**: Modify your `~/.zshenv` file instead of `~/.bash_profile`. + - **Zsh note**: Modify your `~/.zshrc` file instead of `~/.bash_profile`. - **fish note**: Use `pyenv init - | source` instead of `eval (pyenv init -)`. - **Ubuntu and Fedora note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.