justjanne / powerline-go

A beautiful and useful low-latency prompt for your shell, written in go
GNU General Public License v3.0
2.73k stars 268 forks source link

feat: virtualenv pyenv improvements #363

Closed scop closed 2 months ago

scop commented 2 years ago

See individual commits for details.

fpiribauer commented 7 months ago

That's actually pretty helpful, would be nice to see it merged :)

justjanne commented 2 months ago

The functionality looks great, but I'm not so sure about the implementation. Running pyenv requires spawning new processes, running python, etc which is quite slow. Especially as this would be running pretty much all the time.

I'll try to look into possible improvements myself, but I don't have much time right now. I'd probably just implement the behaviour described at https://github.com/pyenv/pyenv?tab=readme-ov-file#understanding-python-version-selection natively.

scop commented 2 months ago

That's fine, I'm no longer using pyenv myself so I no longer have need for this. Closing.