[pass] fpm2pass, bash-completion

Simon KP si at eskp.net
Tue Sep 18 05:59:47 CEST 2012


I can confirm the bug with bash-completion - the file names which have
spaces in them get broken down. Eg.:

Sites/MySites contains these files - "foo bar gar", "lar" and "bar foo".

$ pass Sites/MySites<TAB>
"gar" "bar" "foo"  "lar"  "foo" "bar"

I've tried looking at password-store bash-completion file but not too sure
what this line does "gen="$gen ${item#$prefix}"" and my bash foo isn't
strong enough.

Someone with bash knowledge needs to have a look.

Cheers

On Sat, Sep 15, 2012 at 6:04 PM, Jeffrey Ratcliffe <
jeffrey.ratcliffe at gmail.com> wrote:

> On 15 September 2012 01:04, Jason A. Donenfeld <Jason at zx2c4.com> wrote:
> > The bash completion script is horrible. It pales in comparison to the zsh
> > script. Unfortunately, I don't use zsh. Want to help me clean up the bash
> > completion file? Any suggestions? Patches?
>
> I've never tried playing with bash-completion, but I'll take a look.
>
> Jeff
> _______________________________________________
> Password-Store mailing list
> Password-Store at lists.zx2c4.com
> http://lists.zx2c4.com/listinfo.cgi/password-store-zx2c4.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20120918/4e7e2c23/attachment.html>


More information about the Password-Store mailing list