Add script for installing pyenv
This commit is contained in:
parent
07e0caec95
commit
897196e42b
2 changed files with 8 additions and 0 deletions
|
@ -93,6 +93,8 @@ yay --noconfirm -Syu \
|
||||||
pyenv \
|
pyenv \
|
||||||
python-pipenv;
|
python-pipenv;
|
||||||
|
|
||||||
|
. "../../Common/Config/pyenv/install.sh";
|
||||||
|
|
||||||
# Media
|
# Media
|
||||||
. "../Software/ytmdesktop/install.sh";
|
. "../Software/ytmdesktop/install.sh";
|
||||||
|
|
||||||
|
|
6
scripts/Common/Config/pyenv/install.sh
Executable file
6
scripts/Common/Config/pyenv/install.sh
Executable 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;
|
Loading…
Reference in a new issue