8 lines
305 B
Bash
Executable file
8 lines
305 B
Bash
Executable file
#!/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;
|
|
|
|
echo "pyenv init - | source" | sudo tee /etc/fish/conf.d/pyenv.fish > /dev/null;
|