From 114a5bc79ccbf40aac7c3a672d5e608673b8d8d0 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 16 Mar 2023 10:54:06 +0000 Subject: [PATCH] Add pyenv init to bashrc --- .bashrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bashrc b/.bashrc index 219c26c8..652df5c4 100644 --- a/.bashrc +++ b/.bashrc @@ -50,6 +50,8 @@ fi export PYENV_ROOT="$HOME/.pyenv" command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH" + +command -v pyenv >/dev/null && eval "$(pyenv init -)" command -v direnv > /dev/null 2>&1 && eval "$(direnv hook bash)" command -v starship > /dev/null 2>&1 && eval "$(starship init bash)"