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

Zsh shell completion doesn't work for flags/args that come after positional values #4652

Open
gbrlsnchs opened this issue Jan 19, 2023 Discussed in #4648 · 1 comment
Open
Labels
A-completion Area: completion generator C-bug Category: Updating dependencies

Comments

@gbrlsnchs
Copy link

Discussed in #4648

Originally posted by gbrlsnchs January 18, 2023
One practical example is the tool I wrote using clap, park. When I mix values and flags/args, the shell completion no longer works.

This works:

$ park --<Tab>

This doesn't:

$ park something --<Tab>

And despite the completion not working, flags/args that come after values effectively work when run, so... am I missing something? I just want to confirm whether it's a misconfiguration by my part, otherwise I'll proceed to open an issue.

@epage epage added C-bug Category: Updating dependencies A-completion Area: completion generator labels Jan 19, 2023
@epage
Copy link
Member

epage commented Jan 19, 2023

Could you provide a complete, minimal reproduction case, meaning a program that combined with those completion examples will show the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-completion Area: completion generator C-bug Category: Updating dependencies
Projects
None yet
Development

No branches or pull requests

2 participants