Skip to content

Non blocking fish prompt#457

Closed
furudean wants to merge 1 commit into
pyenv:masterfrom
furudean:fish-hook
Closed

Non blocking fish prompt#457
furudean wants to merge 1 commit into
pyenv:masterfrom
furudean:fish-hook

Conversation

@furudean
Copy link
Copy Markdown

@furudean furudean commented Apr 11, 2023

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
Copy link
Copy Markdown
Member

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
Copy link
Copy Markdown
Author

Fair enough

@furudean furudean closed this Apr 20, 2023
@furudean furudean deleted the fish-hook branch May 5, 2023 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants