[pass] Patch: Add spaces as needed when autocompleting (bash)
Anas Syed
anas27 at gmail.com
Tue Feb 2 15:01:25 CET 2016
Glad to help! If there are any bugs or problems with the patch, feel free
to let me know and I will fix them.
Is there anything else I need to do to merge the change into the
repository, or is someone else in control of that?
Anas
On 1 February 2016 at 10:31, Kjetil Torgrim Homme <
kjetil.homme at redpill-linpro.com> wrote:
> On 01/31/2016 03:06 PM, Anas Syed wrote:
> > When one uses autocompletion on bash, autocompleting the only match
> > doesn't add an extra space. This is necessary when we are completing
> > directory names, however, when we are completing commands and other
> > command line flags, then we want an extra space, as is usual with the
> > completion for other programs.
> >
> > I've fixed this by not passing "-o nospace" to complete, (so the default
> > is that spaces are added). I then put "compopt -o nospace" whenever we
> > don't want to add an extra space.
> >
> > I have attached the patch that fixes this.
>
> this works great! thank you for sharing.
>
> --
> Kjetil T. Homme
> Redpill Linpro - Changing the game
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20160202/5def6dde/attachment.html>
More information about the Password-Store
mailing list