Files
linux-workspace/rc.local/pyenv.sh

13 lines
248 B
Bash

# Initialize pyenv
if is_slow_init; then
PYENV_ROOT="${PYENV_ROOT:-$HOME/.pyenv}"
if [[ -d "$PYENV_ROOT" ]]; then
export PYENV_ROOT
if ! can_run pyenv; then
append_path "$PYENV_ROOT/bin"
fi
eval "$(pyenv init -)"
fi
fi