-
-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate completions for fish shell #2927
Comments
I've confirmed the completion works on my laptop. |
I published the prerelease version v2.29.0-1. https://github.com/aquaproj/aqua/releases/tag/v2.29.0-1 Could you try v2.29.0-1? aqua upa v2.29.0-1 |
Can confirm: The command generates a valid fish script (tested with fish 3.10, rather old 🙈) that provides (some) completions: Completion doesn't seem to be perfect (note the suggested folder which I think shouldn't be there): In fact, on an empty prompt the valid commands are rather hidden: Anyway, thanks for the lightning-fast resolution, much appreciated! 👏 🫶 |
Thank you for confirming! |
v2.29.0 is out 🎉 |
Feature Overview
aqua completion
should support argumentfish
, outputting fish code that can be sourced or written to a completion file.Why is the feature needed?
fish is a popular shell in some circles.
Workaround
There is no workaround: bash/zsh completion is utterly incompatible with the fish way of doing completions.
Example Code
$ aqua completion fish | source
should enable fish completion in the current shell.
Note
While undocumented, urface/cli seems to implement fish completions: urfave/cli#351, urfave/cli#848, smallstep/cli#708
The text was updated successfully, but these errors were encountered: