docs(pyenv): document necessity to logout after PATH settings
Diff
1diff --git a/plugins/pyenv/pyenv.plugin.zsh b/plugins/pyenv/pyenv.plugin.zsh
2index 813f64b42de5f316809002f6ae984016da7bd958..275c12c80ee81af4bf50cfbcfeb8b64d9ce7d3e2 100644
3--- a/plugins/pyenv/pyenv.plugin.zsh
4+++ b/plugins/pyenv/pyenv.plugin.zsh
5@@ -30,7 +30,7 @@ if [[ $FOUND_PYENV -ne 1 ]]; then
6 7 # If we found pyenv, load it but show a caveat about non-interactive shells
8 if [[ $FOUND_PYENV -eq 1 ]]; then
9- cat <<EOF
10+ cat >&2 <<EOF
11 Found pyenv, but it is badly configured. pyenv might not work for
12 non-interactive shells (for example, when run from a script).
13 ${bold_color}
14@@ -40,7 +40,8 @@ in your home directory:
15 export PYENV_ROOT="${dir/#$HOME/\$HOME}"
16 export PATH="\$PYENV_ROOT/bin:\$PATH"
17 eval "\$(pyenv init --path)"
18-${reset_color}
19+
20+You'll need to restart your user session for the changes to take effect.${reset_color}
21 For more info go to https://github.com/pyenv/pyenv/#installation.
22 EOF
23