bashrc.d: add go, pyenv

This commit is contained in:
Paul Walker
2023-07-21 13:03:21 +01:00
parent 34bd735e57
commit 3bcc6e0415
2 changed files with 10 additions and 0 deletions

5
bashrc.d/pyenv.bash Normal file
View File

@@ -0,0 +1,5 @@
export PYENV_ROOT="$HOME/.pyenv"
if [ -d "$PYENV_ROOT" ] ; then
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
fi