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

Re: completion for GNU color ls, anyone?



Francis Galiegue wrote:

> On Thu, 20 Jul 2000, Matthias Kopfermann wrote:
> 
> > hi marvelous list :)
> > 
> > I am looking for completions for GNU-tools which are not part of
> > the 3.1.9 source. one completion which i would like is for GNU
> > color ls, then for screen and setterm.
> 
> You can just export ZLS_COLORS=$LS_COLORS in your .zshrc or anywhere else, or
> did I completely misunderstand your question?

I think he really wanted completion for ls (the options, I guess, with 
descriptions and things).

The place to turn to for such (rather simple) cases is _arguments.
Look at one of the simpler completion function, like, say, _joe,
_flex or _gzip. And at Peter's user guide.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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