From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14292 invoked from network); 30 Jun 2000 11:45:53 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 30 Jun 2000 11:45:53 -0000 Received: (qmail 16183 invoked by alias); 30 Jun 2000 11:45:47 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12128 Received: (qmail 16176 invoked from network); 30 Jun 2000 11:45:46 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: "Sven Wischnowsky" , Subject: RE: Completion for gzcat does not descend directories Date: Fri, 30 Jun 2000 15:45:33 +0400 Message-ID: <001301bfe288$b2f259c0$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.2911.0) In-Reply-To: <200006301136.NAA00838@beta.informatik.hu-berlin.de> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 > > Andrej Borsenkow wrote: > > > As in subject. ^Xh lists all three standard tags, but if > any *.gz file > > is foundm directories are not listed. > > > > I'd expect it to suggest both files and directories. > > You should tell it, then. From the docs: > > zstyle ':completion:*:gzcat:*' file-patterns \ > '%p:globbed-files *(-/):directories' '*:all-files' > > Or use _next_tags. > The actual question is - why it does not do it by default? Well, I vaguelly remember some discussion on this - but I hopelessly missed it. IMHO by default file completion should complete directories unless told otherweise. -andrej