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

Re: completion functions with _arguments -A "-*" and the _approximate completer



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