[PATCH] Bash 3.x completion support
graham at grahamlyons.com
Fri Sep 8 19:39:22 CEST 2017
Aha. I just redirected `git diff master` to a file.
I'll try your suggestion. Thank you.
On 8 Sep 2017 18:23, "Erik Wenzel" <erik at code.de> wrote:
> > On 8. Sep 2017, at 13:15, Graham Lyons <graham at grahamlyons.com> wrote:
> > Hello,
> > 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.
> > I hope this is in the right format - let me know if there are any
> The content of your patch fixes my osx bash3 completion issues. Thanks! The
> 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
> you created the patch?
> 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
> Password-Store mailing list
> Password-Store at lists.zx2c4.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Password-Store