Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: error in 19.3.1
- X-seq: zsh-users 10747
- From: Roman Neuhauser <neuhauser@xxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxxx>
- Subject: Re: error in 19.3.1
- Date: Wed, 20 Sep 2006 12:48:14 +0000
- Cc: zsh users <zsh-users@xxxxxxxxxx>
- In-reply-to: <200609200926.k8K9QhEF009890@xxxxxxxxxxxxxx>
- Mail-followup-to: Peter Stephenson <pws@xxxxxxx>, zsh users <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20060919222852.GA46327@xxxxxxxxxxxxxxxx> <200609200926.k8K9QhEF009890@xxxxxxxxxxxxxx>
# pws@xxxxxxx / 2006-09-20 10:26:43 +0100:
> Roman Neuhauser wrote:
> > This is near the end of 19.3.1:
>
> (The section numbers aren't particularly easy to trace back to the
> documentation source, so names are probably more convenient.)
Aha, sorry.
> > zstyle -e ':completion:*' completer '
> > if [[ $words[1] = cvs ]]; then
> > reply=(_complete)
> > else
> > reply=(_complete _approximate)
> > fi'
> >
> > uses the value `_complete' for the completer style in most contexts, but
> > the value `_complete _approximate' when the first word on the command
> > line is `cvs'.
>
> You mean the code should be the other way round?
Only if the behavior described in the text actually makes sense,
that is, is this setting useful? Not if the _approximate completer
bypasses the smarts that make _cvs offer only unversioned files to
cvs add, only versioned (or scheduled for addition) files to cvs ci,
etc.
I don't actually know what will _cvs do with this completer
(svn everywhere I look), I'm just saying this should be considered.
--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991
Messages sorted by:
Reverse Date,
Date,
Thread,
Author