Join rc and rc.local folders
This commit is contained in:
13
rc/pyenv.sh
Normal file
13
rc/pyenv.sh
Normal 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
|
||||
Reference in New Issue
Block a user