Remove warnings from pyenv

pyenv currently issues a warning that it no longer sets PATH and
recommends that you set PATH yourself. This warning is unnecessary if
the pyenv user does set PATH and cannot be disabled. Profile hardcodes
to remove the warning.
This commit is contained in:
2021-05-27 15:00:37 +08:00
parent 3f7fb94819
commit 0dcb2efeac

View File

@@ -88,7 +88,7 @@ PYENV_ROOT="${PYENV_ROOT:-${HOME}/.pyenv}"
if [ -z "$PYENV_DISABLE" ] && [ -d "$PYENV_ROOT/bin" ]; then
export PATH="$HOME/.pyenv/bin:$PATH"
export PIPENV_VENV_IN_PROJECT=1
eval "$(pyenv init -)"
eval "$(pyenv init -|grep -v '^echo')"
fi
# perl