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 completions for Python scripts #768

Conversation

EmilyGraceSeville7cf
Copy link

@EmilyGraceSeville7cf EmilyGraceSeville7cf commented Sep 15, 2024

Summary

Add completions for Python scripts:

image

Features

  • Completions for options
  • Completions for option values (default values are emphasized)

Requirements

  • >= fish 3.7.1

@sharkdp
Copy link
Owner

sharkdp commented Oct 1, 2024

Thank you. This is certainly nice for fish users, but to be honest, I don't want to have to maintain completion scripts for all kinds of shells (unless they are auto-generated somehow). For hyperfine itself, sure. But for those Python scripts, it seems too much work for too little benefit (we would also have to package & install these properly, and advertise them in the documentation) — sorry.

@EmilyGraceSeville7cf
Copy link
Author

EmilyGraceSeville7cf commented Oct 1, 2024

I don't know Python for now (at least yet) so I can't write a code for their automatic generation. Although I am able to support them. However, I see ur point- I can move these completions for Fish shell itself.

@sharkdp
Copy link
Owner

sharkdp commented Nov 10, 2024

I can move these completions for Fish shell itself.

That would be great; thank you

@sharkdp sharkdp closed this Nov 10, 2024
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