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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Password-Store mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to