zsh-users
 help / color / mirror / code / Atom feed
* Re: completion for GNU color ls, anyone?
@ 2000-07-21 11:09 Sven Wischnowsky
  0 siblings, 0 replies; 43+ messages in thread
From: Sven Wischnowsky @ 2000-07-21 11:09 UTC (permalink / raw)
  To: zsh-users


Matthias Kopfermann wrote:

> On Fri, Jul 21, 2000 at 12:55:39PM +0200, Sven Wischnowsky wrote:
> > But seriously, we already have completion functions for GNU commands
> > and if people write new ones and send them to us they will be reviewed 
> > and shipped with future versions.
>  i know and i am quite happy with many completions. And don't get
>  me wrong. I am trying to learn how to do them myself. Perhaps i
>  should send my versions and ask questions to understand the
>  completion system better. But i am feeling like a Silliest
>  Possible User already :)

Don't. Every question (if it can be answered ;-) helps you and us (to
learn where people have problems).

> > The same for non-GNU commands,
> > obviously.
> I hope so, too.
> > So, if anyone has anything interesting...
> And what about the ability to have a special site for fg. Linux.
> Would that make some sense? I mean i guess that many people would
> love a site like that. And that should not be the goal of a
> ZSH-distribution to ship with as many completions for Linux as
> possible. So perhaps a site dedicated would be cool.
> The gurus could then judge what should be included with ZSH
> itself. Just an idea for discussion.

Look at the contents of the Completion directory. We already have
dedicated sub-directories for some systems (AIX, Bsd, Debian, Linux).
And there'll be a big overhaul of the directory structure before the
release of 4.0 so that it should be easier for users to select those
directories they need/want. Hopefully.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] 43+ messages in thread
* Re: completion for GNU color ls, anyone?
@ 2000-07-21 10:55 Sven Wischnowsky
  0 siblings, 0 replies; 43+ messages in thread
From: Sven Wischnowsky @ 2000-07-21 10:55 UTC (permalink / raw)
  To: zsh-users


Matthias Kopfermann wrote:

> On Fri, Jul 21, 2000 at 11:18:11AM +0200, Francis Galiegue wrote:
> > On Thu, 20 Jul 2000, Matthias Kopfermann wrote:
> > 
> > 
> > You can just export ZLS_COLORS=$LS_COLORS in your .zshrc or anywhere else, or
> > did I completely misunderstand your question?
> yes, completely :)
> I really want the gnu-linux versions of as many commands as i can
> get. This ZLS_COLORS trick is known to me :)
> as zsh is not for GNU only (which is good), it does not provide
> enough completions for GNU commands.
> ls , screen , perl (well sort of GNU :)), emacs completions, vim
> and many others are missing. (of course, no ZSH distribution can
> have all these commands, that would take 1000's of hours to do
> them all, i guess.)
> 
> Do we have a place to collect the completions of GNU commands?
> That would be cool, I am quite sure.

Sure we have. It's called `the distribution' ;-)

But seriously, we already have completion functions for GNU commands
and if people write new ones and send them to us they will be reviewed 
and shipped with future versions. The same for non-GNU commands,
obviously.

So, if anyone has anything interesting...

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] 43+ messages in thread
* Re: completion for GNU color ls, anyone?
@ 2000-07-21  9:16 Sven Wischnowsky
  0 siblings, 0 replies; 43+ messages in thread
From: Sven Wischnowsky @ 2000-07-21  9:16 UTC (permalink / raw)
  To: zsh-users


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@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] 43+ messages in thread
* completion for GNU color ls, anyone?
@ 2000-07-20 17:56 Matthias Kopfermann
  2000-07-21  9:18 ` Francis Galiegue
  0 siblings, 1 reply; 43+ messages in thread
From: Matthias Kopfermann @ 2000-07-20 17:56 UTC (permalink / raw)
  To: zsh mailinglist

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. btw i use SUSE 6.2 linux right
now but i guess "for current GNU" should tell enough, right?.
I am studying on doing completions myself but right now i had no
luck with the attempts i tried, mercy :) I still want to
understand how to do it but other things have to be learned and
done, too.

Matthias


^ permalink raw reply	[flat|nested] 43+ messages in thread
* Re: wish for a colored completion system
@ 2000-06-08 10:41 Sven Wischnowsky
  0 siblings, 0 replies; 43+ messages in thread
From: Sven Wischnowsky @ 2000-06-08 10:41 UTC (permalink / raw)
  To: zsh-users


Bart Schaefer wrote:

> ...
> 
> So for example one can do
> 
> zstyle ':completion:*:zsh-options' \
> 	list-colors '=csh*=31:=*hist*=32:=list*=34:=*glob*=35'
> 
> ...
> 
> The tricky bit is figuring out what string goes at the tail of the style
> pattern, e.g. `zsh-options' in this case.  The place to look is the
> "Standard Tags" subsection in the "Completion System Configuration"
> chapter.

Or hit ^Xh (control-x h) and it will tell you (the `tags').


Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] 43+ messages in thread

end of thread, other threads:[~2000-08-02 19:12 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <no.id>
2000-06-08 14:31 ` wish for a colored completion system Matthias Kopfermann
2000-06-08 14:49   ` Sven Wischnowsky
2000-06-08 14:50   ` Thomas Köhler
2000-06-08 15:11     ` Matthias Kopfermann
2000-06-08 15:32       ` have to get used to the new zstyle thingy! Matthias Kopfermann
     [not found]         ` <0FVU005MNF7Q6N@la-la.cambridgesiliconradio.com>
2000-06-08 17:37           ` wish for a colored completion system Bart Schaefer
2000-06-08 18:44             ` Fletch
     [not found]               ` <000608122524.ZM16857@candle.brasslantern.com>
     [not found]                 ` <m2bt1c0xoe.fsf@godzilla.phydeaux.org>
2000-06-08 20:07                   ` Bart Schaefer
2000-06-08 20:18                     ` Fletch
2000-06-08 20:36                       ` Peter Stephenson
2000-06-09 13:36 ` Matthias Kopfermann
2000-06-14 13:43 ` Fun zsh trick for today Matthias Kopfermann
2000-06-14 13:57   ` Clint Adams
2000-06-14 14:09     ` Ollivier Robert
2000-06-14 15:02       ` Fletch
2000-06-14 14:15     ` Peter Stephenson
2000-06-14 14:21       ` Peter Stephenson
2000-06-14 14:27       ` Clint Adams
2000-06-14 14:37       ` Bart Schaefer
2000-06-14 15:33 ` Matthias Kopfermann
2000-06-14 15:52   ` Peter Stephenson
2000-06-14 16:31 ` Matthias Kopfermann
2000-06-26 10:23 ` (forw) --help able programs and completion Matthias Kopfermann
2000-06-26 10:30 ` Matthias Kopfermann
2000-06-29 11:41 ` is the reference card for zsh still 3.0 ? Matthias Kopfermann
2000-07-05 10:47 ` Matthias Kopfermann: Re: coloring of --help completion possible? Matthias Kopfermann
2000-07-17 13:39 ` wanted: viins-mode and digit argument with a,i,A and such Matthias Kopfermann
2000-07-17 14:06   ` Peter Stephenson
2000-07-21 10:42 ` completion for GNU color ls, anyone? Matthias Kopfermann
2000-07-21 15:17   ` Adam Spiers
2000-07-21 10:58 ` Matthias Kopfermann
2000-07-21 15:54   ` Bart Schaefer
2000-07-21 16:00 ` Matthias Kopfermann
2000-07-26 16:24 ` how can one let completion work *inside* zsh scripts? Matthias Kopfermann
2000-07-27 12:42 ` Matthias Kopfermann
2000-08-01 15:34 ` Matthias Kopfermann
2000-07-21 11:09 completion for GNU color ls, anyone? Sven Wischnowsky
  -- strict thread matches above, loose matches on Subject: below --
2000-07-21 10:55 Sven Wischnowsky
2000-07-21  9:16 Sven Wischnowsky
2000-07-20 17:56 Matthias Kopfermann
2000-07-21  9:18 ` Francis Galiegue
2000-07-21  9:20   ` Andrej Borsenkow
2000-06-08 10:41 wish for a colored completion system Sven Wischnowsky

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).