delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/05/02:05:32

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Envelope-Sender-Is: Andrej DOT Borsenkow AT mow DOT siemens DOT ru (at relayer david.siemens.de)
From: "Andrej Borsenkow" <Andrej DOT Borsenkow AT mow DOT siemens DOT ru>
To: "Michael Schaap" <cygwin AT mscha DOT com>, <sandman AT interwoven DOT com>
Cc: <cygwin AT cygwin DOT com>
Subject: RE: Zsh observations
Date: Thu, 5 Jul 2001 10:04:49 +0400
Message-ID: <000201c10518$65f36b10$21c9ca95@mow.siemens.ru>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <5.1.0.14.2.20010705002759.042e36b0@imap.mscha.org>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2479.0006
Importance: Normal

>
> >3. You get command-line completion OOTB.  What does the compinit
> function give
> >you (I've never used that one before)?
>
> "Smart" directory name completion.  For instance. "cd <TAB>" will only
> complete directory names, and much fancier things.  (Check out
> /usr/local/share/zsh/4.02/functions/_*)
>


It gives you much much more. Of course, path names are the most "user
visible" (and most often used) but zsh can complete  command arguments of
*any* type (given suitable completion function) and present them with
description as a list where you can select needed match. It can colorize
these lists. It can do partial word matching like f.c -> foo.c, and even
/u/i/s.h -> /usr/include/signal.h. Check <http://sunsite.dk/zsh/Guide/> that
gives nice tutorial what zsh can do. And it includes ready-to-use completion
for quite a number of commands.

-andrej


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019