mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
docs(pyenv): document necessity to logout after PATH settings
This commit is contained in:
parent
7a4f4ad91e
commit
10f3e0d4d4
1 changed files with 3 additions and 2 deletions
|
@ -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 we found pyenv, load it but show a caveat about non-interactive shells
|
||||||
if [[ $FOUND_PYENV -eq 1 ]]; then
|
if [[ $FOUND_PYENV -eq 1 ]]; then
|
||||||
cat <<EOF
|
cat >&2 <<EOF
|
||||||
Found pyenv, but it is badly configured. pyenv might not work for
|
Found pyenv, but it is badly configured. pyenv might not work for
|
||||||
non-interactive shells (for example, when run from a script).
|
non-interactive shells (for example, when run from a script).
|
||||||
${bold_color}
|
${bold_color}
|
||||||
|
@ -40,7 +40,8 @@ in your home directory:
|
||||||
export PYENV_ROOT="${dir/#$HOME/\$HOME}"
|
export PYENV_ROOT="${dir/#$HOME/\$HOME}"
|
||||||
export PATH="\$PYENV_ROOT/bin:\$PATH"
|
export PATH="\$PYENV_ROOT/bin:\$PATH"
|
||||||
eval "\$(pyenv init --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.
|
For more info go to https://github.com/pyenv/pyenv/#installation.
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue