Skip to content

Commit 10f1bf9

Browse files
committed
Simplify Pyenv installation script
1 parent a77f54c commit 10f1bf9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

scripts/install-dependencies.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ fi
2424

2525
echo "Installing Pyenv"
2626
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
27-
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
28-
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
29-
. ~/.bashrc
30-
git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv
27+
echo 'export PYENV_ROOT="${HOME}/.pyenv"' >> ~/.bashrc
28+
echo 'export PATH="${PYENV_ROOT}/bin:${PATH}"' >> ~/.bashrc
29+
git clone https://github.com/pyenv/pyenv-virtualenv.git ${HOME}/.pyenv/plugins/pyenv-virtualenv

0 commit comments

Comments
 (0)