Compare commits
6 Commits
4ac2c06595
...
main
Author | SHA1 | Date | |
---|---|---|---|
9247e7de79
|
|||
d41f82c771
|
|||
c77fa00f98
|
|||
da8cc2b511
|
|||
ef9c4afff3
|
|||
9dcf45baa5
|
8
init.zsh
8
init.zsh
@ -305,6 +305,14 @@ if cmd_exists pyenv; then
|
||||
export PYENV_ROOT="${HOME}/.pyenv"
|
||||
[[ -d "${PYENV_ROOT/bin}" ]] && export PATH="${PYENV_ROOT}/bin:${PATH}"
|
||||
eval "$(pyenv init - zsh)"
|
||||
eval "$(pyenv virtualenv-init - zsh)"
|
||||
__zsh_fix_pyenv_prompt() {
|
||||
if [[ -v _OLD_VIRTUAL_PS1 ]]; then
|
||||
PS1="${_OLD_VIRTUAL_PS1}"
|
||||
unset _OLD_VIRTUAL_PS1
|
||||
fi
|
||||
}
|
||||
precmd_functions+=(__zsh_fix_pyenv_prompt)
|
||||
fi
|
||||
|
||||
# Bookmarks
|
||||
|
Submodule plugins/fast-syntax-highlighting updated: cf318e06a9...3d574ccf48
Submodule plugins/fzf-tab updated: 01dad759c4...fc6f0dcb2d
Submodule plugins/zsh-autosuggestions updated: 0e810e5afa...85919cd1ff
Submodule plugins/zsh-completions updated: e61c9c14d6...5f24f3bc42
Reference in New Issue
Block a user