mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-15 23:13:52 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user