Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: Q about new completion (how to create several match sets)
- X-seq: zsh-users 3044
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: RE: Q about new completion (how to create several match sets)
- Date: Thu, 27 Apr 2000 16:03:32 +0200 (MET DST)
- In-reply-to: "Andrej Borsenkow"'s message of Thu, 27 Apr 2000 17:51:42 +0400
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
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-<CURSOR HERE>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@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author