-
Notifications
You must be signed in to change notification settings - Fork 130
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
Shell completions #565
Comments
awesome suggestion. I'll probably take a look on building this for bash, and let others use it as reference to build it to other shells (which I don't use) the only thing I'm not sure about, is that i could probably make it work for the makers executable, but not cargo make (they are the same) since its a sub command of another executable. |
by the way, if you want to take a shot at it and submit a PR, that would be even better. just tell me. |
@simlay I've implemented a bash auto complete for makers in 0.34.1 branch. any feedback and suggestions are welcome. |
@simlay did you have a chance to look at it? |
released in official version |
In the docs it is written to
However it seems that the The most simplest fix for this would be to include the |
didnt think someone would search it there.... |
That's also an option. But since the code is already locally available after a cargo install it would be way more convenient to not have to clone the repo and rather reuse the local available crate code, specifically also the shell completion script. |
cool. feel free to PR this if you want, or open a new issue so i can track and do it |
@sassman i've added it. currently not published, only in dev branch. |
Thanks, I was about to create the PR but thanks for the very fast help. Maybe it's worth to mentioning the approach in the docs? Then I could prepare this PR, if you don't mind. |
you can PR the documentation, since i already pushed the cargo.toml change. |
Feature Description
Hi there! Love this project!
Been using this project for a while and the only thing I wish it had is shell completions. I have no idea how hard this feature would be to implement. I'm partially writing this task because it's not been written so others can see that it was at least talked about and maybe someone (or me) would do the work if you're interested in the PR(s).
Describe The Solution You'd Like
I'd put something like
source <(cargo make completions bash)
(I know this may not be the right way to do it) in my bash profile and then have tab completions.This should also work with act the same for things like
zsh
or other shells.The text was updated successfully, but these errors were encountered: