Excerpts from Reed Wade's message of March 27, 2020 8:38 am:
> I didn't worked on the pass bash autocomplete script but I think this is
> a bash completion limit and not a pass one.

This is mostly true up until bash 4.4, which offers the `nosort` 
completion option. Even after that, you're still limited to how bash 
wants to columnize the output; particularly, you can't put that "---" 
divider in there.

If you change /usr/share/bash-completion/completions/pass to add 
`-o nosort` to the last line, then you should get something similar to 
the following (minus the obvious censoring):

init                      mv                        ----/        
ls                        cp                        ----/        
find                      git                       -------/     
grep                      help                      ----/        
show                      version                   ----/        
insert                    audit                     -----------/ 
generate                  otp                       --/          
edit                      audit                     ---------/   
rm                        otp                       ---------/   

Yes, the duplicated pass extension commands are verbatim; I'm not quite 
sure about digging through the completion to fix them.

~Celti

Attachment: pgpFq6iLwampf.pgp
Description: PGP signature

Reply via email to