From c6ecf1dc05c7ba84d50cbb65f5191bdfe3fee4e4 Mon Sep 17 00:00:00 2001 From: giomba Date: Thu, 16 Nov 2023 15:00:00 +0100 Subject: [PATCH] pyenv setup --- zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zshrc b/zshrc index c78c921..e8add4f 100644 --- a/zshrc +++ b/zshrc @@ -3866,6 +3866,11 @@ kdesrc-run () source "$HOME/kde/build/$1/prefix.sh" && "$HOME/kde/usr/bin/$@" } +# Install PYENV -- to quickly switch between different Python environments +export PYENV_ROOT="$HOME/.pyenv" +[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" +eval "$(pyenv init -)" + ## END OF FILE ################################################################# # vim:filetype=zsh foldmethod=marker autoindent expandtab shiftwidth=4 # Local variables: