Add pyenv init to zshrc
This commit is contained in:
parent
6cc659ce9a
commit
dce12f7756
2
.zshrc
2
.zshrc
|
@ -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)"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue