Skip to content

Conversation

caarlos0
Copy link
Member

The way it works today, its not possible to install the completions
automatically on Nix, as the build needs to be pure.

This is kinda hacky, but I think it'll work: we only allow the
completion cmd to run if there is good evidence that it is a completion
command, and not a prompt that happens to start with completion.

refs #287

caarlos0 added 4 commits June 18, 2024 11:02
The way it works today, its not possible to install the completions
automatically on Nix, as the build needs to be pure.

This is kinda hacky, but I think it'll work: we only allow the
completion cmd to run if there is good evidence that it is a completion
command, and not a prompt that happens to start with completion.

refs #287
@caarlos0 caarlos0 merged commit 5722fe6 into main Jun 18, 2024
@caarlos0 caarlos0 deleted the comp-2 branch June 18, 2024 14:15
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