fix: pyenv

This commit is contained in:
TheK4n 2022-10-31 21:36:22 +03:00
parent 8405299676
commit d940cab887

View File

@ -25,6 +25,8 @@ if [ -f /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh ]; then
fi
if [ -n "$(command -v pyenv >/dev/null)" ]; then
export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
fi