Add pyenv support
This commit is contained in:
parent
ca65659782
commit
561596711f
7
init.zsh
7
init.zsh
@ -239,6 +239,13 @@ if cmd_exists direnv; then
|
||||
eval "$(direnv hook zsh)"
|
||||
fi
|
||||
|
||||
# Pyenv
|
||||
if cmd_exists pyenv; then
|
||||
export PYENV_ROOT="${HOME}/.pyenv"
|
||||
[[ -d "${PYENV_ROOT/bin}" ]] && export PATH="${PYENV_ROOT}/bin:${PATH}"
|
||||
eval "$(pyenv init - zsh)"
|
||||
fi
|
||||
|
||||
# Bookmarks
|
||||
[[ -v BM_CWD_LS ]] || BM_CWD_LS=1
|
||||
[[ -v BM_MODE ]] || BM_MODE=daemon
|
||||
|
Loading…
x
Reference in New Issue
Block a user