pyenv: install plugins

This commit is contained in:
crater2150 2023-03-02 16:11:04 +01:00
parent 2f45a347ac
commit 0cae13e4c1

View file

@ -18,6 +18,11 @@ else
pyenv() { pyenv() {
echo -n "pyenv is not installed. Install now? [yn] "; read -q || return echo -n "pyenv is not installed. Install now? [yn] "; read -q || return
git clone https://github.com/pyenv/pyenv.git $PYENV_ROOT git clone https://github.com/pyenv/pyenv.git $PYENV_ROOT
git clone https://github.com/pyenv/pyenv-update.git $PYENV_ROOT/plugins/pyenv-update
git clone https://github.com/pyenv/pyenv-virtualenv.git $PYENV_ROOT/plugins/pyenv-virtualenv
git clone https://github.com/jawshooah/pyenv-default-packages.git $PYENV_ROOT/plugins/pyenv-default-packages
git clone https://github.com/fizista/pyenv-choice.git $PYENV_ROOT/plugins/pyenv-choice
echo ptpython > $PYENV_ROOT/default-packages
_init_pyenv _init_pyenv
} }
fi fi