mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-12 05:23:53 -05:00
When the current pyenv environment is not a virtualenv, this line exits with a return code of 1. This is annoying for those of us who report the last return code in our own PROMPT_COMMAND, so ignore the output of `pyenv activate` if we're not currently using a virtualenv.