7 lines
223 B
Bash
7 lines
223 B
Bash
|
#!/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;
|