Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: completion docs



Tanaka Akira wrote:

> In article <200005020811.KAA29433@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
>   Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> writes:
> 
> > @@ -1705,12 +1710,12 @@
> >  
> >  For example:
> >  
> > -example(zstyle ':completion:*:complete:gunzip:*' tag-order \ 
> > -    arguments options)
> > +example(zstyle ':completion:*:complete:-command-:*' tag-order \ 
> > +    'commands functions')
> >  
> > -specifies that completion after tt(gunzip) should offer completions for
> > -both arguments and options immediately, instead of offering first
> > -arguments and then option as usual.
> > +specifies that completion in command position after tt(gunzip) should
> > +offer only completions for external commands and shell functions
> > +immediately.
> >  
> >  In addition to tag names, each string in the value may take one of the
> >  following forms:
> 
> gunzip?  The example doesn't mention gunzip.

Argh. Forgot to delete some words.

> Also note that, I think auto-descrive style mentioned in line 2911 is
> obsolete.

It's named auto-description, right.


Thanks.

Bye
 Sven

Index: Doc/Zsh/compsys.yo
===================================================================
RCS file: /cvsroot/zsh/zsh/Doc/Zsh/compsys.yo,v
retrieving revision 1.29
diff -u -r1.29 compsys.yo
--- Doc/Zsh/compsys.yo	2000/05/02 08:14:29	1.29
+++ Doc/Zsh/compsys.yo	2000/05/02 11:17:25
@@ -1713,9 +1713,8 @@
 example(zstyle ':completion:*:complete:-command-:*' tag-order \ 
     'commands functions')
 
-specifies that completion in command position after tt(gunzip) should
-offer only completions for external commands and shell functions
-immediately.
+specifies that completion in command position should offer only
+completions for external commands and shell functions immediately.
 
 In addition to tag names, each string in the value may take one of the
 following forms:
@@ -2908,7 +2907,7 @@
 given in brackets at the end, as in `tt(-q[query operation])'. The
 tt(verbose) style is used to decide if these
 explanation strings should be printed when options are listed. If no
-explanation string is given but the tt(auto-describe) style is
+explanation string is given but the tt(auto-description) style is
 set and only one argument is described for this var(opt-spec), the
 option will be described by the value of the style with any appearance
 of the sequence `tt(%d)' in it replaced by the description for the

--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author