2023-05-06 12:31:57 +00:00
|
|
|
#!/bin/bash
|
2024-03-20 21:37:34 +00:00
|
|
|
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
|
|
|
. "../fish/profile.sh";
|
|
|
|
. "../bash/profile.sh";
|
|
|
|
|
2023-05-06 12:31:57 +00:00
|
|
|
{
|
|
|
|
echo 'export PYENV_ROOT="$HOME/.pyenv"';
|
|
|
|
echo 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"';
|
|
|
|
echo 'eval "$(pyenv init -)"';
|
2024-04-04 14:52:29 +00:00
|
|
|
} | addBashProfile "pyenv";
|
2023-06-09 09:24:53 +00:00
|
|
|
|
2024-03-20 21:37:34 +00:00
|
|
|
addFishProfile "pyenv" "pyenv" "pyenv init - | source";
|
|
|
|
popd > /dev/null;
|