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

Support shell autocompletions #18

Open
Riey opened this issue Sep 22, 2021 · 2 comments
Open

Support shell autocompletions #18

Riey opened this issue Sep 22, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@Riey
Copy link
Owner

Riey commented Sep 22, 2021

Like bash, zsh

@Riey Riey added the enhancement New feature or request label Sep 22, 2021
@kjamrozy
Copy link

kjamrozy commented Oct 9, 2022

I would like to implement this feature. However AFAIK it's not possible to install shell completions automatically(because there is no post-install hook in cargo to execute a custom script). So there must be some command to install them on demand. Maybe something like this cargo feature --install-shell-completions . What do you think?

@Riey
Copy link
Owner Author

Riey commented Oct 9, 2022

I would like to implement this feature. However AFAIK it's not possible to install shell completions automatically(because there is no post-install hook in cargo to execute a custom script). So there must be some command to install them on demand. Maybe something like this cargo feature --install-shell-completions . What do you think?

I agree. Maybe package manager do that automatically for nix and arch users.

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

No branches or pull requests

2 participants