Closed eugenesvk closed 1 year ago
While checking why pyenv init is so slow, I've realized that your xontrib runs it twice for no reason since the full init already provides PATH
PYENV_PATH = $(@(PYENV) init --path) # this is not needed since ↓ already includes `export PATH` PYENV_ENV = $(@(PYENV) init -)
Also there is another trick to speed it up via pyenv init - --no-rehash instead of the regular init https://github.com/pyenv/pyenv/discussions/1970
pyenv init - --no-rehash
init
Thanks, 1.0.8 released including these changes.
While checking why pyenv init is so slow, I've realized that your xontrib runs it twice for no reason since the full init already provides PATH
Also there is another trick to speed it up via
pyenv init - --no-rehash
instead of the regularinit
https://github.com/pyenv/pyenv/discussions/1970