From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8994 invoked from network); 18 Oct 2000 07:28:32 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 18 Oct 2000 07:28:32 -0000 Received: (qmail 7775 invoked by alias); 18 Oct 2000 07:28:28 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13021 Received: (qmail 7766 invoked from network); 18 Oct 2000 07:28:27 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: Subject: RE: PATCH: Re: Standard setopts for completion system, again Date: Wed, 18 Oct 2000 11:28:24 +0400 Message-ID: <001201c038d5$00451210$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-reply-to: <200010180713.JAA10850@beta.informatik.hu-berlin.de> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 > > > 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