Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: excessive memory usage?
- X-seq: zsh-workers 12320
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "Sven Wischnowsky" <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>, <zsh-workers@xxxxxxxxxxxxxx>
- Subject: RE: excessive memory usage?
- Date: Thu, 20 Jul 2000 10:14:32 +0400
- Importance: Normal
- In-reply-to: <200007191307.PAA10850@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
> >
> > #compdef dict
> > _arguments '*:dictword:_dictwords'
>
> If there isn't anything else in this file, then we don't need to use
> _arguments. Because calling _arguments with only one `*:...' spec and
> no options, no other arguments specs is the same as doing the action
> from the `*:...' spec. Only slower.
>
But _arguments will setup proper context names, thus enabling use of
per-argument styles. This alone warrants usage of _arguments IMHO.
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author