From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20576 invoked from network); 9 Mar 2000 10:43:28 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 9 Mar 2000 10:43:28 -0000 Received: (qmail 13364 invoked by alias); 9 Mar 2000 10:39:59 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10012 Received: (qmail 13322 invoked from network); 9 Mar 2000 10:39:54 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: "ZSH workers mailing list" Subject: Matching against file suffix Date: Thu, 9 Mar 2000 13:36:33 +0300 Message-ID: <001001bf89b3$5669f880$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 So far, the two major uses I had for globbing were: 1. patch < /.../zsh/patches/<1234->TAB This is nice for manually applying patches; I save them with article number and simply get the next by incrementing number and hitting TAB 2. foo .../zsh/Doc/*.texi That is the case, when I do know file suffix and want to get just this one file. Unfortunately, as was oft seen, this has problems with _path_files - and, Sven, you once wrote, that you do not use globbing at all but use spiffy match controls instead. Is it possible to match by file suffix with matching control? It is 'course possible by moving cursor before suffix - but that I'd like to avoid. The idea is to hit TAB at the end of input word and still get completion. -andrej Have a nice DOS! B >>