mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-14 06:23: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
|
pyenv-sh-deactivate --force --quiet ${VERBOSE+--verbose} || true
|
||||||
|
|
||||||
|
if [ -n "$PYENV_VIRTUALENV_VERBOSE_ACTIVATE" ]; then
|
||||||
echo "pyenv-virtualenv: activate ${venv}" 1>&2
|
echo "pyenv-virtualenv: activate ${venv}" 1>&2
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -z "$no_shell" ]; then
|
if [ -z "$no_shell" ]; then
|
||||||
# shell version set in pyenv-sh-activate should be unset
|
# shell version set in pyenv-sh-activate should be unset
|
||||||
|
|||||||
@@ -58,7 +58,9 @@ else
|
|||||||
venv="${prefix##*/}"
|
venv="${prefix##*/}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -n "$PYENV_VIRTUALENV_VERBOSE_ACTIVATE" ]; then
|
||||||
echo "pyenv-virtualenv: deactivate ${venv}" 1>&2
|
echo "pyenv-virtualenv: deactivate ${venv}" 1>&2
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -n "${PYENV_ACTIVATE_SHELL}" ]; then
|
if [ -n "${PYENV_ACTIVATE_SHELL}" ]; then
|
||||||
# shell version set in pyenv-sh-activate should be unset
|
# shell version set in pyenv-sh-activate should be unset
|
||||||
|
|||||||
Reference in New Issue
Block a user