[pass] [PATCH] Beef up bash completion

Brian Mattern rephorm at rephorm.com
Fri Sep 21 21:34:10 CEST 2012


On Fri, 21 Sep 2012, Jeffrey Ratcliffe wrote:

> On 21 September 2012 08:21, Brian Mattern <rephorm at rephorm.com> wrote:
> > Note: I turned off "-o filenames" because it was incompatible with the
> > auto-expansion. So, I instead quote using `printf "%q"` to handle files
> > with spaces and other odd characters.
> 
> This breaks UTF8 handling. The attached patch fixes things again, and
> cleans the rest up a little.

You are correct about the UTF8 breakage.  However, it looks like your patch breaks handling of files with spaces. I don't know the correct solution at the moment.

Brian



More information about the Password-Store mailing list