work/root/home/user/.local/profile.d/200.pyenv.sh

7 lines
139 B
Bash

export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
if which pyenv 2>&1 > /dev/null ; then
eval "$(pyenv init -)"
fi