]> git.vanrenterghem.biz Git - Dotty.git/commitdiff
Configureer pyenv in bash.
authorFrederik Vanrenterghem <frederik@vanrenterghem.biz>
Wed, 3 Apr 2024 13:03:55 +0000 (21:03 +0800)
committerFrederik Vanrenterghem <frederik@vanrenterghem.biz>
Wed, 3 Apr 2024 13:03:55 +0000 (21:03 +0800)
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 -)"
+