<div dir="ltr">I've followed your process, Erik, and re-attached the patch to this email.<div><br></div><div>Let me know if there are any problems.</div><div><br></div><div>Thanks Oliver - I'm trying to avoid installing anything extra.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 8 September 2017 at 18:45, Oliver Albertini <span dir="ltr"><<a href="mailto:oliver.ruben@gmail.com" target="_blank">oliver.ruben@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 dir="auto">Also, you can upgrade your bash version with a package manager. Then you have to add it to /etc/shells before changing to the new bash.</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sep 8, 2017 10:39, "Graham Lyons" <<a href="mailto:graham@grahamlyons.com" target="_blank">graham@grahamlyons.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Aha. I just redirected `git diff master` to a file.<div dir="auto"><br></div><div dir="auto">I'll try your suggestion. Thank you.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 8 Sep 2017 18:23, "Erik Wenzel" <<a href="mailto:erik@code.de" target="_blank">erik@code.de</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
> On 8. Sep 2017, at 13:15, Graham Lyons <<a href="mailto:graham@grahamlyons.com" target="_blank">graham@grahamlyons.com</a>> wrote:<br>
><br>
> Hello,<br>
><br>
> I'm using password-store on OSX (latest, 10.12.6) which comes with Bash version 3.2.57. I get errors when using the completion as the `compopt` command doesn't exist before Bash 4. Avoiding use of `compopt` still seems to allow the completion to work (I'm guessing there's something missing) so I've prepared a patch which tests for its existence first.<br>
><br>
> I hope this is in the right format - let me know if there are any problems.<br>
The content of your patch fixes my osx bash3 completion issues. Thanks! The<br>
patch format isn’t right I think. It didn’t apply for me with `git apply a.patch` and I pasted the content off from your email into `a.patch`. How do<br>
you created the patch?<br>
<br>
When I create the patch using `git format-patch master --stdout > ../bash3.patch` I get an email header, a stats section and then the patch like<br>
yours.<br>
<br>
cheers<br>
______________________________<wbr>_________________<br>
Password-Store mailing list<br>
<a href="mailto:Password-Store@lists.zx2c4.com" target="_blank">Password-Store@lists.zx2c4.com</a><br>
<a href="https://lists.zx2c4.com/mailman/listinfo/password-store" rel="noreferrer" target="_blank">https://lists.zx2c4.com/mailma<wbr>n/listinfo/password-store</a><br>
</blockquote></div></div>
<br>______________________________<wbr>_________________<br>
Password-Store mailing list<br>
<a href="mailto:Password-Store@lists.zx2c4.com" target="_blank">Password-Store@lists.zx2c4.com</a><br>
<a href="https://lists.zx2c4.com/mailman/listinfo/password-store" rel="noreferrer" target="_blank">https://lists.zx2c4.com/mailma<wbr>n/listinfo/password-store</a><br>
<br></blockquote></div></div>
</div></div></blockquote></div><br></div>