From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5868 invoked from network); 7 Apr 2000 07:48:04 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 7 Apr 2000 07:48:04 -0000 Received: (qmail 14989 invoked by alias); 7 Apr 2000 07:47:25 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10570 Received: (qmail 14979 invoked from network); 7 Apr 2000 07:47:24 -0000 Date: Fri, 7 Apr 2000 09:47:18 +0200 (MET DST) Message-Id: <200004070747.JAA23631@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: "Andrej Borsenkow"'s message of Fri, 7 Apr 2000 11:29:01 +0400 Subject: Re: Q about matcher style Andrej Borsenkow wrote: > Is it possible to say "use these matcher(s) for all *paths* completion"? > > The problem is: > > - I can set to for all tags - but do not want to :-) > - else I have to explicitly set it for every tag/alias ... and this I > want to avoid as well. You should only need the three tags used by _files and the `files' tag that might be used if _path_files is called by a function that doesn't use its own tag. So: zstyle ':completion:*:(directories|(globbed-|all-|files))' matcher ... plus all the file-patterns tags and labels you defined yourself. I know that this is a bit ugly, if I could see a better way, I would have done that some time ago, but... Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de