Skip to content

Instantly share code, notes, and snippets.

@mbrochh
Last active February 28, 2020 15:48
Show Gist options
  • Save mbrochh/ea1c57e9c4e830446e93bae8fc42adfa to your computer and use it in GitHub Desktop.
Save mbrochh/ea1c57e9c4e830446e93bae8fc42adfa to your computer and use it in GitHub Desktop.
.bashrc with pyenv-virtualenvwrapper
if command -v pyenv 1>/dev/null 2>&1; then
eval "$(pyenv init -)"
fi
export PYENV_VIRTUALENVWRAPPER_PREFER_PYVENV="true"
export WORKON_HOME=$HOME/.virtualenvs
pyenv virtualenvwrapper_lazy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment