mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-13 22:13:52 -05:00
Suppress activate/deactivate messages by default
This commit is contained in:
@@ -138,7 +138,9 @@ fi
|
||||
|
||||
pyenv-sh-deactivate --force --quiet ${VERBOSE+--verbose} || true
|
||||
|
||||
echo "pyenv-virtualenv: activate ${venv}" 1>&2
|
||||
if [ -n "$PYENV_VIRTUALENV_VERBOSE_ACTIVATE" ]; then
|
||||
echo "pyenv-virtualenv: activate ${venv}" 1>&2
|
||||
fi
|
||||
|
||||
if [ -z "$no_shell" ]; then
|
||||
# shell version set in pyenv-sh-activate should be unset
|
||||
|
||||
@@ -58,7 +58,9 @@ else
|
||||
venv="${prefix##*/}"
|
||||
fi
|
||||
|
||||
echo "pyenv-virtualenv: deactivate ${venv}" 1>&2
|
||||
if [ -n "$PYENV_VIRTUALENV_VERBOSE_ACTIVATE" ]; then
|
||||
echo "pyenv-virtualenv: deactivate ${venv}" 1>&2
|
||||
fi
|
||||
|
||||
if [ -n "${PYENV_ACTIVATE_SHELL}" ]; then
|
||||
# shell version set in pyenv-sh-activate should be unset
|
||||
|
||||
Reference in New Issue
Block a user