mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-17 07:53:42 -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.
|
||||
# if 'pyenv virtualenv-init -' is not found in "$profile"
|
||||
if [ -z "$PYENV_VIRTUALENV_INIT" ]; then
|
||||
pyenv-virtualenv-init >&2 || true
|
||||
if [ -z "${QUIET}" ]; then
|
||||
pyenv-virtualenv-init >&2 || true
|
||||
fi
|
||||
fi
|
||||
|
||||
pyenv-sh-deactivate --quiet ${VERBOSE+--verbose} || true
|
||||
|
||||
Reference in New Issue
Block a user