Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug in _gnu_generic for "cp -a"?
- X-seq: zsh-users 15065
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: Bug in _gnu_generic for "cp -a"?
- Date: Wed, 19 May 2010 08:30:36 -0700
- In-reply-to: <20100519125713.GA17396@xxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20100519125713.GA17396@xxxxxxxxx>
On Wed, May 19, 2010 at 5:57 AM, Andy Spiegl <zsh.Andy@xxxxxxxxx> wrote:
>
> I always had "compdef _gnu_generic cp" in my zsh completion config.
Is there a reason you wanted to override the _cp completer that is
provided by default? Does it get something else wrong that
_gnu_generic solved?
> but at least for a couple months now I get this:
>
> condor:~> cp -a .zshr<TAB>
> - -a -
_gnu_generic attempts to parse the output of "cp --help" and build a
completion description from that. If the parse gets confused because
the format of the help output has changed, it won't necessarily
produce a correct result.
What do you see with
% cp -<TAB>
(that is, attempt to complete the list of options)?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author