Hi all, I am sorry to move this up. But is there any chance to get it merged to provide zsh completion support for extensions?
Regards, Alex 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 [1]. 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 [2] and > pass-update [3]. > > [1] > https://github.com/zsh-users/zsh/blob/cb26725d40a9104ee08e3ca6ff9661890eca8a65/Completion/Unix/Command/_git > [2] https://github.com/roddhjav/pass-tomb/blob/master/completion/pass-tomb.zsh > [3] > https://github.com/roddhjav/pass-update/blob/master/completion/pass-update.zsh > > Regards, > Alex > > _______________________________________________ > Password-Store mailing list > [email protected] > https://lists.zx2c4.com/mailman/listinfo/password-store > _______________________________________________ Password-Store mailing list [email protected] https://lists.zx2c4.com/mailman/listinfo/password-store
