diff --git a/bin/pyenv-sh-activate b/bin/pyenv-sh-activate index 6f8e90c..3ceadb6 100755 --- a/bin/pyenv-sh-activate +++ b/bin/pyenv-sh-activate @@ -130,14 +130,6 @@ if [[ "${VIRTUAL_ENV}" == "${prefix}" ]]; then fi 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 - if [ -z "${QUIET}" ]; then - pyenv-virtualenv-init >&2 || true - fi -fi - pyenv-sh-deactivate --force --quiet ${VERBOSE+--verbose} || true echo "pyenv-virtualenv: activate ${venv}" 1>&2 diff --git a/test/activate.bats b/test/activate.bats index e249178..ad5e64b 100644 --- a/test/activate.bats +++ b/test/activate.bats @@ -81,11 +81,6 @@ EOS assert_success assert_output <