diff options
author | Marc Cornellà <hello@mcornella.com> | 2021-08-18 11:43:29 +0200 |
---|---|---|
committer | Marc Cornellà <hello@mcornella.com> | 2021-08-18 11:43:29 +0200 |
commit | 10f3e0d4d498c68109bafd711d0bae7f6fa44071 (patch) | |
tree | 9a3d929352dc98a4a127999eaf0ac70eb951bae0 | |
parent | 7a4f4ad91e1f937b36a54703984b958abe9da4b8 (diff) | |
download | zsh-10f3e0d4d498c68109bafd711d0bae7f6fa44071.tar.gz zsh-10f3e0d4d498c68109bafd711d0bae7f6fa44071.tar.bz2 zsh-10f3e0d4d498c68109bafd711d0bae7f6fa44071.zip |
docs(pyenv): document necessity to logout after PATH settings
-rw-r--r-- | plugins/pyenv/pyenv.plugin.zsh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/pyenv/pyenv.plugin.zsh b/plugins/pyenv/pyenv.plugin.zsh index 813f64b42..275c12c80 100644 --- a/plugins/pyenv/pyenv.plugin.zsh +++ b/plugins/pyenv/pyenv.plugin.zsh @@ -30,7 +30,7 @@ if [[ $FOUND_PYENV -ne 1 ]]; then # If we found pyenv, load it but show a caveat about non-interactive shells if [[ $FOUND_PYENV -eq 1 ]]; then - cat <<EOF + cat >&2 <<EOF Found pyenv, but it is badly configured. pyenv might not work for non-interactive shells (for example, when run from a script). ${bold_color} @@ -40,7 +40,8 @@ in your home directory: export PYENV_ROOT="${dir/#$HOME/\$HOME}" export PATH="\$PYENV_ROOT/bin:\$PATH" eval "\$(pyenv init --path)" -${reset_color} + +You'll need to restart your user session for the changes to take effect.${reset_color} For more info go to https://github.com/pyenv/pyenv/#installation. EOF |