Fix another unbound variable error (#424)

* Fix tests failing after #423
This commit is contained in:
Alain Kalker
2022-01-30 19:14:28 +01:00
committed by GitHub
parent 1ee7ca6346
commit 017ea60cd3
5 changed files with 51 additions and 51 deletions

View File

@@ -229,8 +229,8 @@ if [ -z "${PYENV_VIRTUALENV_DISABLE_PROMPT}" ]; then
echo "pyenv-virtualenv: prompt changing will be removed from future release. configure \`export PYENV_VIRTUALENV_DISABLE_PROMPT=1' to simulate the behavior." 1>&2
fi
cat <<EOS
export _OLD_VIRTUAL_PS1="\${PS1}";
export PS1="(${venv}) \${PS1}";
export _OLD_VIRTUAL_PS1="\${PS1:-}";
export PS1="(${venv}) \${PS1:-}";
EOS
;;
esac