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

Add clap::ValueHint to fix zsh completion #717

Merged
merged 1 commit into from
Jan 16, 2024
Merged

Conversation

xzfc
Copy link
Contributor

@xzfc xzfc commented Jan 5, 2024

Problem description: in zsh, type hyperfine (with a space) and press tab. As a result, it completes nothing, not even the file names (the default fallback if no completion function is found), which makes the generated completion not very useful.

This PR adds value hints to make generated completion behave properly.

@sharkdp sharkdp merged commit 4ffe96b into sharkdp:master Jan 16, 2024
14 checks passed
@sharkdp
Copy link
Owner

sharkdp commented Jan 16, 2024

Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants