From 46eedc18ddb4ff6f91cf95933c6b5d717464b9c7 Mon Sep 17 00:00:00 2001 From: Holger Just Date: Thu, 8 Oct 2020 16:39:47 +0200 Subject: [PATCH] Initialize pyenv if installed --- .bashrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.bashrc b/.bashrc index 398af6d..f76dc38 100644 --- a/.bashrc +++ b/.bashrc @@ -149,6 +149,11 @@ export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" --no-use [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" +# pyenv +if command -v pyenv 1>/dev/null 2>&1; then + eval "$(pyenv init -)" +fi + # Appliction config export PLANIO_SKIP_AMA=1