On Wed, May 23, 2012 at 3:48 PM, Reuben Thomas <r...@sc3d.org
> On 22 May 2012 19:34, Tshepang Lekhonkhobe wrote:
>> > It would in fact be extra nice if there was a way to not actually
>> > auto-complete at all, as is claimed in that section, since
>> > auto-completing something like "wajig update [TAB]" does not make
>> > sense.
>> If you are going to be preparing a patch, please make it against
>> latest VCS version (I've done some more changes to the bash-completion
> Attached, a patch which should achieve that.
> The problem was that complete was called with "-o default", which means that
> if no completions are returned by the completion code, readline does default
> completion. I removed this and instead call _filedir for wajig commands
> which (so far as I can determine) can or must take a file name.
> The attached patch also fixes some English in the command docstrings, and
> adds a comment stanza to bash-completion to set up Emacs or vim for editing.
Thanks you so much. It's committed now.