<div dir="ltr">Hi Jani,<div><br></div><div>I already have bash-completion installed, although it's version 1.3.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 2 February 2014 11:44, Jani Nikula <span dir="ltr"><<a href="mailto:jani@nikula.org" target="_blank">jani@nikula.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Sun, 02 Feb 2014, Anand Buddhdev <<a href="mailto:arhbkb@gmail.com">arhbkb@gmail.com</a>> wrote:<br>

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