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

Shell completion doesn't complete subcommand-specific options when subcommand is abbreviated #46

Open
vincentdephily opened this issue Jan 24, 2024 · 1 comment
Labels
good first issue Good for newcomers

Comments

@vincentdephily
Copy link
Owner

Eg emlop stats --a<tab> completes the --avg flag but emlop s --a<tab> doesn't. Checked for bash only. This is arguably an upstream clap bug, but I'd like to track it here.

@vincentdephily
Copy link
Owner Author

Emlop now ships its own completions, so this is no longer considered an upstream clap bug.

  • Fixed for bash.
  • Shouldn't be too hard for fish, just need to fork our own __fish_seen_subcommand_from, maybe ask the community
  • Zsh is much too complex for me, help wanted (not just for the papercut mention in this bug)

@vincentdephily vincentdephily added the good first issue Good for newcomers label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant