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