1
0
Fork 0
mirror of https://github.com/hcartiaux/dotfiles.git synced 2024-10-18 09:15:24 +02:00
dotfiles/pyenv/init.sh

12 lines
341 B
Bash
Raw Normal View History

2020-05-13 19:30:57 +02:00
# Initialization of the pyenv and pyenv-virtualenv
# - pyenv: https://github.com/pyenv/pyenv
# - pyenv-virtualenv: https://github.com/pyenv/pyenv-virtualenv
if [ -n "$(which pyenv 2>/dev/null)" ]; then
2021-11-11 11:59:09 +01:00
eval "$(pyenv init --path)"
2020-05-13 19:30:57 +02:00
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
export PYENV_VIRTUALENV_DISABLE_PROMPT=1
fi