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

Closed
gbrlsnchs opened this issue Jan 19, 2023 Discussed in #4648 · 2 comments
Closed
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?

@epage
Copy link
Member

epage commented Aug 10, 2024

As I believe this is resolved with the native completions, I'm going to close this. If this was incorrect, let us know!

You can track stabilization at #3166

@epage epage closed this as completed Aug 10, 2024
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