pyenv / pyenv-virtualenv

a pyenv plugin to manage virtualenv (a.k.a. python-virtualenv)
MIT License
6.37k stars 403 forks source link

Fix another unbound variable error #424

Closed ackalker closed 2 years ago

ackalker commented 2 years ago

This fixes the case of bash: PS1: unbound variable when PYENV_VIRTUALENV_DISABLE_PROMPT isn't set. This should have been part of #423, sorry for that. I also fixed the tests related to virtualenv activation/deactivation which were failing due to my changes.