From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28129 invoked from network); 8 Sep 2003 20:02:51 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 8 Sep 2003 20:02:51 -0000 Received: (qmail 29658 invoked by alias); 8 Sep 2003 20:02:28 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6539 Received: (qmail 25197 invoked from network); 8 Sep 2003 19:47:28 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 8 Sep 2003 19:47:28 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [130.238.4.143] by sunsite.dk (MessageWall 1.0.8) with SMTP; 8 Sep 2003 19:47:28 -0000 Received: from elanus (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id AF0C34B94 for ; Mon, 8 Sep 2003 21:47:27 +0200 (DFT) Received: from elanus.its.uu.se(127.0.0.1) by elanus.its.uu.se via virus-scan id s67593; Mon, 8 Sep 03 21:47:10 +0200 Received: from localhost (NL04-165-13.STUDENT.UU.SE [10.11.165.13]) by elanus.its.uu.se (Postfix) with ESMTP id 233CA4B80 for ; Mon, 8 Sep 2003 21:47:10 +0200 (DFT) Received: from jesper by localhost with local (Exim 4.20) id 19wRyD-0001qD-6g for zsh-users@sunsite.dk; Mon, 08 Sep 2003 21:46:41 +0200 Date: Mon, 8 Sep 2003 21:46:41 +0200 From: Jesper Holmberg To: Zsh-users List Subject: Completion of certain files suggested last Message-ID: <20030908194641.GT6280@strindberg.student.uu.se> Mail-Followup-To: Zsh-users List Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i I use menu-complete. I also have the following specified: zstyle ':completion:*:*:(^rm):*:*' ignored-patterns '*?.o' '*?~' '(|*/)CVS' '*?.class' so that object files, CVS directories etc are never tab completed. Now, I've realized that I sometimes still want to do something more than removing these kinds of files, and I've been bitten a couple of times by the fact that these files seem not to be there, as far as the completion system is concerned. So my question is this: is it possible to specify that these files be completed, but only after all other possibilities have been tried? I.e. if my directory contains the files: aa.o bb.class cc.txt pressing once gives me cc.txt, twice gives me aa.o etc? TIA, Jesper