Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Automatic long options completion for --?
- X-seq: zsh-workers 12461
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Automatic long options completion for --?
- Date: Tue, 1 Aug 2000 13:02:44 +0200 (MET DST)
- In-reply-to: "Andrej Borsenkow"'s message of Tue, 1 Aug 2000 14:00:10 +0400
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Andrej Borsenkow wrote:
> Struggling with Cygwin I found myself wishing to get at least trivial
> completion for arbitrary command with long options.
>
> Is it possible to complete after -- for *any* command (of course, assuming
> that no specific completion is defined)?
compdef -P _use_lo '*'
> Of course, if this could extract help text as well ... :-)
We had this before. Sometimes just telling us about great ideas is
enough. Sometimes we need more help and sometimes we don't feel like
implementing this ourselves ;-)
So, if you can come up with something reasonable, that is guaranteed
to never produce a wrong description but at least sometimes gives the
right one...
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author