-
-
Notifications
You must be signed in to change notification settings - Fork 636
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 Bash, ZSH and Windows command line completion #103
Comments
@harobed I'd love to receive contributions in this one, since I don't actually know how that works. Let me know if you want to work in it. |
Simply, I use zsh completion. |
Edited title to include Windows as asked on #127 |
I am very interested in this feature. I have a very simple and not very complete command I use for bash:
This does not work with:
This also seems like a nice resource: https://iridakos.com/tutorials/2018/03/01/bash-programmable-completion-tutorial.html |
I thing I have linked this previously, but another resource is: |
I've made some work on bash autocompletion here: https://github.com/bfarayev/task/blob/feature/autocomplete/completion/task.bash I've tested it on my fork of task, so need to check if it'd work with the latest release. Happy to submit a PR after testing. |
@bfarayev Pull requests are more than welcome! |
Can this be implemented as new Task command? |
Does other tools usually do that? |
Drush 8 used to have Also https://github.com/bamarni/symfony-console-autocomplete is widely used tool for generating completions for Symfony Console commands. Typically such approach is used in applications that distributed as a single file executable. If an application has installation/uninstallation procedure it's probably better to install/uninstall the completions automatically. |
@Chi-teck Sounds like a good idea. Can you create a separate issue for that? |
@andreynering what is the scope of this ticket then? |
@Chi-teck This issue is about creating the completion scripts alone. I propose one to implement the auto-install command you mentioned. As a comment, it'd be more likely forgotten with time. |
@sawadashota I opened a PR to improve the installation of autocompletions here: sawadashota/go-task-completions#2 One thing I noticed is that |
Looks like the completions are completed and all that needs done is to update the docs, correct? |
Yep, closing this as completed. If anyone think anything is missing, please open another issue. |
I just commented in #293 on the missing things ... |
Add bash and zsh autocomplete feature.
The text was updated successfully, but these errors were encountered: