Add pyenv support

This commit is contained in:
Alexander Rosenberg 2025-01-27 03:00:17 -08:00
parent ca65659782
commit 561596711f
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -239,6 +239,13 @@ if cmd_exists direnv; then
eval "$(direnv hook zsh)"
fi
# Pyenv
if cmd_exists pyenv; then
export PYENV_ROOT="${HOME}/.pyenv"
[[ -d "${PYENV_ROOT/bin}" ]] && export PATH="${PYENV_ROOT}/bin:${PATH}"
eval "$(pyenv init - zsh)"
fi
# Bookmarks
[[ -v BM_CWD_LS ]] || BM_CWD_LS=1
[[ -v BM_MODE ]] || BM_MODE=daemon