From 71595397830d488b1488785a1dabc81db82b57eb Mon Sep 17 00:00:00 2001 From: Frederik Vanrenterghem Date: Wed, 3 Apr 2024 21:03:55 +0800 Subject: [PATCH] Configureer pyenv in bash. --- bash/.bashrc | 6 ++++++ 1 file changed, 6 insertions(+) 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 -)" + -- 2.39.5