diff --git a/bin/pyenv-sh-activate b/bin/pyenv-sh-activate index ba5d5c8..007fdbc 100755 --- a/bin/pyenv-sh-activate +++ b/bin/pyenv-sh-activate @@ -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