Skip to content
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

Add mechanism to generate traditional completion scripts #4

Open
dbarnett opened this issue Jan 2, 2014 · 0 comments
Open

Add mechanism to generate traditional completion scripts #4

dbarnett opened this issue Jan 2, 2014 · 0 comments

Comments

@dbarnett
Copy link
Owner

dbarnett commented Jan 2, 2014

The --_completion option includes the completion logic in the executable itself, and is invoked by a generic completion script that forwards all completions to it by default. It might make sense to create a parallel mechanism that dumps a standalone completion script.

For instance, this could be run on MYPROGRAM to detect supported args and generate traditional completion scripts for bash, zsh, fish, etc. This could help mitigate some drawbacks of the self-contained completion: slow completions for particularly slow executables and the extra dependency.

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

No branches or pull requests

1 participant