I can confirm the bug with bash-completion - the file names which have spaces in them get broken down. Eg.:<div><br></div><div>Sites/MySites contains these files - "foo bar gar", "lar" and "bar foo".</div>
<div><br></div><div>$ pass Sites/MySites<TAB></div><div>"gar" "bar" "foo" "lar" "foo" "bar"</div><div><br></div><div>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.</div>
<div><br></div><div>Someone with bash knowledge needs to have a look.</div><div><br></div><div>Cheers</div><div><div><br><div class="gmail_quote">On Sat, Sep 15, 2012 at 6:04 PM, Jeffrey Ratcliffe <span dir="ltr"><<a href="mailto:jeffrey.ratcliffe@gmail.com" target="_blank">jeffrey.ratcliffe@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 15 September 2012 01:04, Jason A. Donenfeld <<a href="mailto:Jason@zx2c4.com">Jason@zx2c4.com</a>> wrote:<br>
> The bash completion script is horrible. It pales in comparison to the zsh<br>
> script. Unfortunately, I don't use zsh. Want to help me clean up the bash<br>
> completion file? Any suggestions? Patches?<br>
<br>
</div>I've never tried playing with bash-completion, but I'll take a look.<br>
<br>
Jeff<br>
_______________________________________________<br>
Password-Store mailing list<br>
<a href="mailto:Password-Store@lists.zx2c4.com">Password-Store@lists.zx2c4.com</a><br>
<a href="http://lists.zx2c4.com/listinfo.cgi/password-store-zx2c4.com" target="_blank">http://lists.zx2c4.com/listinfo.cgi/password-store-zx2c4.com</a><br>
</blockquote></div><br></div></div>