[PATCH] Add zsh completion for extensions
alexandre at pujol.io
Sat Jun 8 15:11:36 CEST 2019
I am sorry to move this up. But is there any chance to get it merged to
provide zsh completion support for extensions?
On 09/12/2018 19:42, Alexandre Pujol wrote:
> Hi all,
> This patch adds the support of the extension for the zsh completion.
> It is inspired by the way the git addons completion works . Therefore; it
> shares the same format. If you have your own pass extension, you can make that
> command known to the completion creating a function _pass-foo() to handle
> specific completion for that command. Place such a function inside an
> autoloaded #compdef file, and you should be all set. You can add a description
> to such a function by adding a line matching:
> #description DESCRIPTION
> as the second line in the file.
> There are two examples of extension using this patch with pass-tomb  and
> pass-update .
>  https://github.com/zsh-users/zsh/blob/cb26725d40a9104ee08e3ca6ff9661890eca8a65/Completion/Unix/Command/_git
>  https://github.com/roddhjav/pass-tomb/blob/master/completion/pass-tomb.zsh
>  https://github.com/roddhjav/pass-update/blob/master/completion/pass-update.zsh
> Password-Store mailing list
> Password-Store at lists.zx2c4.com
More information about the Password-Store