From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24262 invoked by alias); 6 Nov 2013 15:24:23 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 18100 Received: (qmail 27021 invoked from network); 6 Nov 2013 15:24:07 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=a+T5kZUaD8MMkSWTwXnobSg9YmNXh20NRYSeUEWQ2os=; b=CgRpl1BYLn9sV6XRWWNCKP3dz/VWVNlBNACPBj+EFXOIBEJsp12yrr+0pZFiTNpmr4 Ytm+t2qql1US26wj7nrIZuHi/P6tmx+AWeixj1VAKO5c346qSMB5pM7/qxUnCwW2XGl3 aIdKejQGvGG+78a0D1kM6P+KhZ/V+EUdJzH2yPQX0l1l94KmY2qrC23BQObuAoKC35XY Chw0nVFcG4Hvgz9Wc+sdaajraLHSchD5UpWIc6x+bZUbPUhsN/X5kdFhMAZvq5GTLW98 4hqL3yNIutyyYuyEDLDE0Viwkt7BtClTfbki9Hho6G/LQTL01/VLFnJxIzz44NVgO3YU GRvA== X-Received: by 10.50.115.35 with SMTP id jl3mr2773321igb.37.1383751443759; Wed, 06 Nov 2013 07:24:03 -0800 (PST) Message-ID: <527A5F11.2080701@gmail.com> Date: Wed, 06 Nov 2013 08:24:01 -0700 From: John User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Zsh-Users List Subject: ordering of file-patterns completions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I have a tool which needs one file-patterns for the first file matched, then the second and the rest should be of a different file-patterns. I don't see a way to do this. Are there any examples of something similar to this around? Something like: foo XXX.blah XXX-YYY.blah [XXX-ZZZ.blah] What would even be better is if I had a way of handling the latter ones so that it only matched the "blah" portion from the first file to the rest. TIA, John