Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion for GNU color ls, anyone?
- X-seq: zsh-users 3315
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Re: completion for GNU color ls, anyone?
- Date: Fri, 21 Jul 2000 11:16:59 +0200 (MET DST)
- In-reply-to: Francis Galiegue's message of Fri, 21 Jul 2000 11:18:11 +0200 (CEST)
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
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