pyenv if
This commit is contained in:
parent
0ca559ef2d
commit
049eb9ee83
2
.zshrc
2
.zshrc
|
@ -206,8 +206,10 @@ 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
|
pyenv activate std 2> /dev/null > /dev/null
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue