From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11286 invoked from network); 23 Mar 2000 10:56:54 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 23 Mar 2000 10:56:54 -0000 Received: (qmail 8360 invoked by alias); 23 Mar 2000 10:56:49 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10212 Received: (qmail 8348 invoked from network); 23 Mar 2000 10:56:48 -0000 Date: Thu, 23 Mar 2000 11:56:07 +0100 (MET) Message-Id: <200003231056.LAA23372@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: "Andrej Borsenkow"'s message of Thu, 23 Mar 2000 13:46:22 +0300 Subject: Re: Something strange with matcher Andrej Borsenkow wrote: > After recent patches (up to and including 10210) old setup does not > work any more > > bor@itsrm2% zstyle -L > zstyle ':completion:*' completer _oldlist _complete _match > zstyle :completion::approximate: max-errors 3 > zstyle ':completion:*' menu 'select=0' > zstyle ':completion:*::::default' list-colors '' > zstyle ':completion:*:match:*' original yes > zstyle ':completion:*:match:*' insert-unambiguous yes > zstyle ':completion:*:paths' cursor yes > zstyle ':completion:*:oldlist' list _match > zstyle ':completion:*' list-rows-first yes > zstyle ':completion:*:*:files' matcher 'r:|[.-]=**' > zstyle ':completion:*:cd:*' matcher 'r:|[.-]=**' > zstyle ':completion:*' group-name '' > zstyle ':completion:*:descriptions' format 'Completing %d' > bor@itsrm2% l > 3.1.6-dev-16/ 3.1.6-dev-19/ > bor@itsrm2% l -19TAB > just beeps while it did work before. > > Funnily, matcher for cd still works so I suspect now `files' tag is > treated differently? Yes, cleaner. Actually, I'm a bit suprised that it worked before, that wasn't really planned. Anyway, as _complete_help could have told you: zstyle ':completion:*:all-files' matcher ... does what you want... I.e. _files now really only uses all-files, globbed-files, directories or the tags you define yourselves with the file-patterns style. Ok? Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de