poco
poco copied to clipboard
Create zsh completion to pocok
A zsh command completion would be great to pocok.
Here is a complete guide and a video about function: https://github.com/zsh-users/zsh-completions https://www.youtube.com/watch?v=E2WXc3qAg8A
I have same request for bash
Example:
proco up s<TAB>
when only one project starts with "s" complete the command
proco up s<TAB><TAB>
when more projects starts with "s" then two tab list all project which starts with "s"
there are multiple autocomplete spaces, and multiple shells with separate syntax. therefore, it could be better if the poco could only provide the data easily for these shells. what would be needed:
- list of basic poco commands (up, down, help, etc.)
- project names stored in catalogs - here and for others, it would be very important to return them immediately, do not wait for the result of the git pull only if there has never been such a result
- what plan names there are in a given project
more importantly, these names in the above three categories contain only the words to be completed and should be quick.
I can imagine something like
poco completion <commands | projects>
andpoco completion xyproject plans