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 13018
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: Re: Standard setopts for completion system, again
- Date: Wed, 18 Oct 2000 09:13:23 +0200 (MET DST)
- In-reply-to: "Bart Schaefer"'s message of Wed, 18 Oct 2000 04:31:31 +0000
- 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?
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author