Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: _complete_help troubles



Bart Schaefer (schaefer@xxxxxxxxxxxxxxxxxxxxxxx) wrote:
> On Apr 11, 11:57pm, Adam Spiers wrote:
> } Subject: _complete_help troubles
> }
> } > > $ ls <TAB>
> } > > _complete_help:39: bad pattern: \n    all-files  (_files _default)
> 
> BTW, you do mean <C-x h> there, and not <TAB>, right?  If _complete_help
> is running when you hit TAB, either you have rather surprising bindkeys,
> or something very bad is happening.

Oops, yes, I meant <C-x h> :-)

> So the problem is that _complete_help is expecting the standard options
> from _main_complete, but of course it doesn't get them because it's not
> called through the regular completion system.

Excellent, works now.  Thanks Bart.



Messages sorted by: Reverse Date, Date, Thread, Author