sharkdp / hyperfine

A command-line benchmarking tool
Apache License 2.0
21.66k stars 349 forks source link

Add clap::ValueHint to fix zsh completion #717

Closed xzfc closed 8 months ago

xzfc commented 8 months ago

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 commented 8 months ago

Thank you very much.