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

RE: excessive memory usage?



> >
> > #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