dyuri / xontrib-langenv

pyenv integration for xonsh
MIT License
12 stars 3 forks source link

shims path is no longer added to PATH #3

Closed brechtm closed 3 years ago

brechtm commented 3 years ago

Recent changes in pyenv require additional configuration besides sourcing pyenv init -. See https://github.com/pyenv/pyenv/issues/1906.

My workaround was to add the following to .xonshrc before xontrib load pyenv:

source-bash --login=false --interactive=false $(pyenv init --path)
dyuri commented 3 years ago

Thanks for reporting, I'll take a look.