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:
@@ -88,7 +88,7 @@ PYENV_ROOT="${PYENV_ROOT:-${HOME}/.pyenv}"
|
|||||||
if [ -z "$PYENV_DISABLE" ] && [ -d "$PYENV_ROOT/bin" ]; then
|
if [ -z "$PYENV_DISABLE" ] && [ -d "$PYENV_ROOT/bin" ]; then
|
||||||
export PATH="$HOME/.pyenv/bin:$PATH"
|
export PATH="$HOME/.pyenv/bin:$PATH"
|
||||||
export PIPENV_VENV_IN_PROJECT=1
|
export PIPENV_VENV_IN_PROJECT=1
|
||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -|grep -v '^echo')"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# perl
|
# perl
|
||||||
|
|||||||
Reference in New Issue
Block a user