mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-14 22:43:52 -05:00
Suppress message about virtualenv-init if -quiet given (fixes #122)
This commit is contained in:
@@ -123,7 +123,9 @@ fi
|
|||||||
# Display setup instruction, if pyenv-virtualenv has not been initialized.
|
# Display setup instruction, if pyenv-virtualenv has not been initialized.
|
||||||
# if 'pyenv virtualenv-init -' is not found in "$profile"
|
# if 'pyenv virtualenv-init -' is not found in "$profile"
|
||||||
if [ -z "$PYENV_VIRTUALENV_INIT" ]; then
|
if [ -z "$PYENV_VIRTUALENV_INIT" ]; then
|
||||||
pyenv-virtualenv-init >&2 || true
|
if [ -z "${QUIET}" ]; then
|
||||||
|
pyenv-virtualenv-init >&2 || true
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pyenv-sh-deactivate --quiet ${VERBOSE+--verbose} || true
|
pyenv-sh-deactivate --quiet ${VERBOSE+--verbose} || true
|
||||||
|
|||||||
Reference in New Issue
Block a user