Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Zsh/Bash autocompletion generator #415

Closed
a-b opened this issue May 2, 2014 · 4 comments
Closed

Zsh/Bash autocompletion generator #415

a-b opened this issue May 2, 2014 · 4 comments

Comments

@a-b
Copy link

a-b commented May 2, 2014

It would be really handy to build script which will automatically generate autocompletion files.

@Zhomart
Copy link

Zhomart commented Jul 14, 2017

This gem https://github.com/labocho/thor-zsh_completion works well. But it doesn't support options and subcommand arguments.

@wifelette wifelette changed the title [Feature request] Zsh/Bash autocompletion generator Zsh/Bash autocompletion generator Oct 8, 2019
@tristanmorgan
Copy link

As an alternative to an "autocompletion generator", could Thor respond with completions when called with COMP_LINE and COMP_POINT?
An example implemented and documented in a downstream project is Autocomplete Design

@dorner
Copy link

dorner commented Jul 5, 2021

That does sound like a better approach. PRs are welcome!

@tristanmorgan
Copy link

I'm not even going to create a PR (because my code is so bad) but here's a bit of it working.... hacky auto-complete branch

@rails rails locked and limited conversation to collaborators May 12, 2023
@rafaelfranca rafaelfranca converted this issue into discussion #826 May 12, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

5 participants