Speed up pyenv
This commit is contained in:
2
init.zsh
2
init.zsh
@@ -310,7 +310,7 @@ fi
|
|||||||
if cmd_exists pyenv; then
|
if cmd_exists pyenv; then
|
||||||
export PYENV_ROOT="${HOME}/.pyenv"
|
export PYENV_ROOT="${HOME}/.pyenv"
|
||||||
[[ -d "${PYENV_ROOT/bin}" ]] && export PATH="${PYENV_ROOT}/bin:${PATH}"
|
[[ -d "${PYENV_ROOT/bin}" ]] && export PATH="${PYENV_ROOT}/bin:${PATH}"
|
||||||
eval "$(pyenv init - zsh)"
|
eval "$(pyenv init - zsh --no-rehash)"
|
||||||
eval "$(pyenv virtualenv-init - zsh)"
|
eval "$(pyenv virtualenv-init - zsh)"
|
||||||
__zsh_fix_pyenv_prompt() {
|
__zsh_fix_pyenv_prompt() {
|
||||||
if [[ -v _OLD_VIRTUAL_PS1 ]]; then
|
if [[ -v _OLD_VIRTUAL_PS1 ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user