Configureer pyenv in bash.
[Dotty.git] / bash / .bashrc
index b0e4bab4ffdc16b52b825878779e207c28de8ca6..141a601122d61ac62efb989c2855eea7999b71a0 100644 (file)
@@ -25,3 +25,9 @@ gpg-connect-agent updatestartuptty /bye >/dev/null
 
 source /etc/profile.d/nix-daemon.sh
 export LOCALE_ARCHIVE=/usr/lib/locale/locale-archive
+
+# Initialise pyenv
+export PYENV_ROOT="$HOME/.pyenv"
+[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
+eval "$(pyenv init -)"
+