From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16855 invoked from network); 27 Apr 2000 14:04:35 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 27 Apr 2000 14:04:35 -0000 Received: (qmail 22634 invoked by alias); 27 Apr 2000 14:03:57 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3044 Received: (qmail 22621 invoked from network); 27 Apr 2000 14:03:56 -0000 Date: Thu, 27 Apr 2000 16:03:32 +0200 (MET DST) Message-Id: <200004271403.QAA19396@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-users@sunsite.auc.dk In-reply-to: "Andrej Borsenkow"'s message of Thu, 27 Apr 2000 17:51:42 +0400 Subject: RE: Q about new completion (how to create several match sets) Andrej Borsenkow wrote: > ... > > No, that's weird. I was able to make it running exactly once - and I > have a feeling, this was after cvs update/make/make install in one > window, sourcing styles in another one and trying there (that is, with > *old* zsh+functions). What I get currently, is > > bor@itsrm2% cd samba-2.0.7/source > bor@itsrm2% ./configure --wi-swTAB > bor@itsrm2% cd samba-2.0.7/source > bor@itsrm2% ./configure --with-swatdir > Completing with options > --with-swatdir > Completing other options > --with-swatdir --without-swatdir > > with styles > > ... > > zstyle ':completion:*:options-other' ignored-patterns '^--with(|out)-*' > > (I added ``^'' to the last pattern - assuming, it is beginning-of-word > anchor) Nah. The `^' is the special glob character to negate the pattern, remove it again, then `other options' will contain only options not beginning with `--with' or `--without'. Sometimes I get it right the first time... ;-) Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de