This commit is contained in:
Christoph J. Scherr 2024-03-07 13:30:28 +01:00 committed by Christoph J. Scherr
parent 5b687124a1
commit eced044e1d
1 changed files with 4 additions and 7 deletions

3
.zshrc
View File

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