mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 16:18:00 +00:00
Explicitly set PYENV_ROOT
This commit is contained in:
parent
83ab314b77
commit
9c528efa60
@ -9,10 +9,12 @@
|
||||
# Load manually installed pyenv into the shell session.
|
||||
if [[ -s "$HOME/.pyenv/bin/pyenv" ]]; then
|
||||
path=("$HOME/.pyenv/bin" $path)
|
||||
export PYENV_ROOT=$(pyenv root)
|
||||
eval "$(pyenv init -)"
|
||||
|
||||
# Load package manager installed pyenv into the shell session.
|
||||
elif (( $+commands[pyenv] )); then
|
||||
export PYENV_ROOT=$(pyenv root)
|
||||
eval "$(pyenv init -)"
|
||||
|
||||
# Prepend PEP 370 per user site packages directory, which defaults to
|
||||
|
Loading…
Reference in New Issue
Block a user