Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: PATCH: Re: Standard setopts for completion system, again
- X-seq: zsh-workers 13021
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: <zsh-workers@xxxxxxxxxxxxxx>
- Subject: RE: PATCH: Re: Standard setopts for completion system, again
- Date: Wed, 18 Oct 2000 11:28:24 +0400
- Importance: Normal
- In-reply-to: <200010180713.JAA10850@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
>
>
> Bart Schaefer wrote:
>
> > ...
> >
> > Another choice (still in compinit) would be simply to stuff the desired
> > options into an array:
> >
> > _comp_setopts=(nullglob rcexpandparam extendedglob unset
> > no{markdirs,globsubst,shwordsplit,shglob,ksharrays,cshnullglob})
> >
> > and then reference them:
> >
> > setopt localoptions $_comp_setopts
>
> I like this. Good idea.
>
> We could even do `_comp_setopts=(setopt localoptions nullglob ...)'
> and then just do `$_comp_setopt'. Or would that be too irritating?
>
Someday somebody does _comp_setopt=(some-option $_comp_setopt). I prefer
Bart's version. It makes also usage more clear.
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author