Photos
Blog
Projects
vanrenterghem.biz
projects
/
Dotty.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
daaf848
)
Configureer pyenv in bash.
author
Frederik Vanrenterghem
<frederik@vanrenterghem.biz>
Wed, 3 Apr 2024 13:03:55 +0000
(21:03 +0800)
committer
Frederik Vanrenterghem
<frederik@vanrenterghem.biz>
Wed, 3 Apr 2024 13:03:55 +0000
(21:03 +0800)
bash/.bashrc
patch
|
blob
|
history
diff --git
a/bash/.bashrc
b/bash/.bashrc
index b0e4bab4ffdc16b52b825878779e207c28de8ca6..141a601122d61ac62efb989c2855eea7999b71a0 100644
(file)
--- 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 -)"
+