Re: bash completion error with 0.17

Subject: Re: bash completion error with 0.17

Date: Sun, 2 Feb 2014 11:46:30 +0100

To: Jani Nikula

Cc: notmuch@notmuchmail.org

From: Anand Buddhdev


Hi Jani,

I already have bash-completion installed, although it's version 1.3.


On 2 February 2014 11:44, Jani Nikula <jani@nikula.org> wrote:

> On Sun, 02 Feb 2014, Anand Buddhdev <arhbkb@gmail.com> wrote:
> > Hi people,
> >
> > I've just discovered notmuch. I've installed version 0.17 on my Mac using
> > Homebrew. I've also built a forked mutt with notmuch support, and I'm
> > exploring setting up virtual folders, and keeping all mail in a single
> "All
> > Mail" Maildir, with everything just tagged, a la Gmail :) I love it.
> >
> > I have one issue to report: when I type "notmuch" at the command-line and
> > press tab, bash completion gives me the following error:
> >
> > $ notmuch -bash: _init_completion: command not found
> >
> > Looks like something is missing in the bash completion script. I'd
> > appreciate if someone could make a patch.
>
> You'll need the bash-completion package [1] too. I'm not sure about
> versions, but likely reasonably recent.
>
> The trivial "fix" patch would likely just check for the existence of
> _init_completion, and refuse to complete without it. For anything
> fancier, patches welcome...
>
>
> BR,
> Jani.
>
>
> [1] http://bash-completion.alioth.debian.org/
>

Thread: