Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion functions with _arguments -A "-*" and the _approximate completer
- X-seq: zsh-workers 25359
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: completion functions with _arguments -A "-*" and the _approximate completer
- Date: Wed, 30 Jul 2008 21:27:48 +0100
- In-reply-to: <20080730131339.GC1113@xxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20080730131339.GC1113@xxxxxxxxx>
On Wed, 30 Jul 2008 15:13:39 +0200
Julius Plenz <julius@xxxxxxxxx> wrote:
> I noticed that a few completion functions don't work work together
> with the _approximate completer properly, namely all functions that
> contain the argument '-A "-*"' in the _arguments command
>...
> shouldn't _arguments give _approximate a chance to complete an
> option name that was just mis-spelled? IMO this breaks consitency
> because you cannot rely on _approximate correcting the option name.
Yes, I think you're right. I have no idea how to do it, though.
--
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author