Add pyenv init to zshrc

This commit is contained in:
Evie Litherland-Smith 2023-03-16 10:56:25 +00:00
parent 6cc659ce9a
commit dce12f7756

2
.zshrc
View file

@ -51,6 +51,8 @@ fi
export PYENV_ROOT="$HOME/.pyenv" export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH" 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 direnv > /dev/null 2>&1 && eval "$(direnv hook zsh)"
command -v starship > /dev/null 2>&1 && eval "$(starship init zsh)" command -v starship > /dev/null 2>&1 && eval "$(starship init zsh)"