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

Re: _man igores global matchers



On Jun 1,  1:40pm, Sven Wischnowsky wrote:
} Subject: Re: _man igores global matchers
}
} Bart Schaefer wrote:
} 
} This uses _path_files' builtin compfiles to try to get smarter glob
} patterns with respect to the matchers in use.

Except that it doesn't appear to reference the global $_matcher anywhere?
How does "the matcher in use" ever get to _man_pages ?

Perhaps this:
 
}   _wanted manuals expl 'manual page' _man_pages

Should be:

    _wanted manuals expl 'manual page' _man_pages -M "$_matcher"

?  Or am I missing something obvious?

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



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