poco icon indicating copy to clipboard operation
poco copied to clipboard

Create zsh completion to pocok

Open oak2 opened this issue 6 years ago • 2 comments

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

oak2 avatar Mar 18 '18 17:03 oak2

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"

sarkiroka avatar Jul 13 '18 09:07 sarkiroka

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> and poco completion xyproject plans

sarkiroka avatar Mar 22 '21 07:03 sarkiroka