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=inline;hp=daaf8486c1129d7e6c97bd55eac12d0d18aef9c3 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 -)" +