From dce12f77568523313ed12daa42c27365e017c833 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 16 Mar 2023 10:56:25 +0000 Subject: [PATCH] Add pyenv init to zshrc --- .zshrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.zshrc b/.zshrc index 70c0cb23..9a2db755 100644 --- a/.zshrc +++ b/.zshrc @@ -51,6 +51,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 zsh)" command -v starship > /dev/null 2>&1 && eval "$(starship init zsh)"