From 0dcb2efeace4a32d16ff4cd5e45201dfbef94daf Mon Sep 17 00:00:00 2001 From: madumlao Date: Thu, 27 May 2021 15:00:37 +0800 Subject: [PATCH] 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. --- skel/.profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skel/.profile b/skel/.profile index 37c950e..8188603 100644 --- a/skel/.profile +++ b/skel/.profile @@ -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