mirror of
https://github.com/correl/dotfiles.git
synced 2024-11-21 19:18:41 +00:00
[provisioning] Load in all installed python versions by default
Loads all numbered versions, giving higher versions precedence.
This commit is contained in:
parent
4f3c4ddeec
commit
e4ccb052a4
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,8 @@ esac
|
|||
|
||||
_profile 'eval "$(pyenv init -)"'
|
||||
_profile 'eval "$(pyenv virtualenv-init -)"'
|
||||
_profile 'pyenv global $(pyenv versions --bare --skip-aliases | egrep "^(\.?[[:digit:]]+)+$" | sort -rV)'
|
||||
|
||||
|
||||
if ! [ -d ~/.pyenv/versions/${__PYTHON_VERSION} ]; then
|
||||
_run "Install python ${__PYTHON_VERSION}" pyenv install ${__PYTHON_VERSION}
|
||||
|
|
Loading…
Reference in a new issue