Join rc and rc.local folders

This commit is contained in:
lachtan
2025-01-03 16:58:29 +00:00
parent 87cc0c95ac
commit 6854c3bfa8
12 changed files with 1 additions and 5 deletions

13
rc/pyenv.sh Normal file
View File

@@ -0,0 +1,13 @@
# 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 -)"
eval "$(pyenv virtualenv-init -)"
fi
fi