pyenv / pyenv-virtualenv

a pyenv plugin to manage virtualenv (a.k.a. python-virtualenv)
MIT License
6.18k stars 399 forks source link

Non blocking fish prompt #457

Closed furudean closed 1 year ago

furudean commented 1 year ago

I propose this as a less intrusive alternative to #451. This can be dropped in as a stop gap to ease some frustration for fish users. I think the philosophy in #451 is a better approach if we can figure out all the difficult bits.

This PR will make pyenv run before the command executes and won't block the prompt from showing, which feels a lot better to use.

See also #338

native-api commented 1 year ago

There are side effects: at prompt time, changes made by activating an environment won't yet be in effect.

This would affect things like interactive completion.

furudean commented 1 year ago

Fair enough