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

odd issue when using completions #5856

Open
2 tasks
Eh2406 opened this issue Dec 23, 2024 · 2 comments
Open
2 tasks

odd issue when using completions #5856

Eh2406 opened this issue Dec 23, 2024 · 2 comments
Labels
A-completion Area: completion generator C-bug Category: Updating dependencies E-medium Call for participation: Experience needed to fix: Medium / intermediate

Comments

@Eh2406
Copy link

Eh2406 commented Dec 23, 2024

Please complete the following tasks

Rust Version

rustc 1.83.0 (90b35a623 2024-11-26)

Clap Version

4.5.20

Minimal reproducible code

check out https://github.com/pubgrub-rs/semver-pubgrub. Given the weird set up I have in this repository in error might be the correct response. I do not have an examples in the examples folder, I have a whole separate project.

Steps to reproduce the bug with the above code

In zsh Try to completing cargo r --example=

Actual Behaviour

I get

_values:compvalues:11: not enough arguments
_values:compvalues:11: not enough arguments
_values:compvalues:11: not enough arguments
_values:compvalues:11: not enough arguments

and my terminal moves on to the next line.

Expected Behaviour

an error, or no suggestion, or 🤷‍♂️

Additional Context

Ed asked me to move this bug here. I did not follow all instructions for bug reports to this repo, sorry.

Debug Output

No response

@Eh2406 Eh2406 added the C-bug Category: Updating dependencies label Dec 23, 2024
@epage epage added E-medium Call for participation: Experience needed to fix: Medium / intermediate A-completion Area: completion generator labels Dec 24, 2024
@epage
Copy link
Member

epage commented Dec 24, 2024

Hmm, tried to create a test case for this but couldn't reproduce it (#5857). This might require digging into manually.

For completeness, what is your version of zsh? Are you using any other addons like omg-zsh or whatever its called?

@Eh2406
Copy link
Author

Eh2406 commented Dec 24, 2024

% zsh --version 
zsh 5.8.1 (x86_64-koji-linux-gnu)

and I do not have a plugins section in my .zshrc file.
Happy to hop on a call to figure out what's weird about my system.

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 E-medium Call for participation: Experience needed to fix: Medium / intermediate
Projects
None yet
Development

No branches or pull requests

2 participants