This commit is contained in:
Christoph J. Scherr 2024-04-06 17:20:35 +02:00
parent 0ca559ef2d
commit 049eb9ee83
Signed by: PlexSheep
GPG Key ID: 7CDD0B14851A08EF
1 changed files with 7 additions and 5 deletions

12
.zshrc
View File

@ -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