From: Frederik Vanrenterghem Date: Wed, 3 Apr 2024 13:03:55 +0000 (+0800) Subject: Configureer pyenv in bash. X-Git-Url: http://git.vanrenterghem.biz/Dotty.git/commitdiff_plain/71595397830d488b1488785a1dabc81db82b57eb?ds=sidebyside Configureer pyenv in bash. --- diff --git a/bash/.bashrc b/bash/.bashrc index b0e4bab..141a601 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -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 -)" +