pyenv
This commit is contained in:
parent
5b687124a1
commit
eced044e1d
11
.zshrc
11
.zshrc
|
@ -208,10 +208,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### --- pyenv Config -------------------------------------
|
### --- pyenv Config -------------------------------------
|
||||||
if [ -d $HOME/.pyenv ]; then
|
export PYENV_ROOT="$HOME/.pyenv"
|
||||||
export PYENV_ROOT="$HOME/.pyenv"
|
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
eval "$(pyenv init -)"
|
||||||
eval "$(pyenv init -)"
|
eval "$(pyenv virtualenv-init - zsh)"
|
||||||
eval "$(pyenv virtualenv-init - zsh)"
|
|
||||||
pyenv activate std 2> /dev/null > /dev/null
|
|
||||||
fi
|
|
||||||
|
|
Loading…
Reference in New Issue