Stop showing message about pyenv virtualenv-init on activate (#122)

`pyenv virtualenv-init` is just an option. Always showing message about
it would be too much to do.
This commit is contained in:
Yamashita, Yuu
2015-12-02 23:49:07 +00:00
parent cf7dea411d
commit 6e91d75069
2 changed files with 0 additions and 28 deletions

View File

@@ -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