Add script for installing pyenv

This commit is contained in:
Manuel Thalmann 2023-05-06 14:31:57 +02:00
parent 61eb2fabf7
commit 5262e136a7
2 changed files with 8 additions and 0 deletions

View file

@ -93,6 +93,8 @@ yay --noconfirm -Syu \
pyenv \
python-pipenv;
. "../../Common/Config/pyenv/install.sh";
# Media
. "../Software/ytmdesktop/install.sh";

View file

@ -0,0 +1,6 @@
#!/bin/bash
{
echo 'export PYENV_ROOT="$HOME/.pyenv"';
echo 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"';
echo 'eval "$(pyenv init -)"';
} | sudo tee /etc/profile.d/pyenv.sh > /dev/null;