From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1858 invoked from network); 1 Aug 2000 11:03:06 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 1 Aug 2000 11:03:06 -0000 Received: (qmail 16347 invoked by alias); 1 Aug 2000 11:02:56 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12461 Received: (qmail 16340 invoked from network); 1 Aug 2000 11:02:55 -0000 Date: Tue, 1 Aug 2000 13:02:44 +0200 (MET DST) Message-Id: <200008011102.NAA06774@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: "Andrej Borsenkow"'s message of Tue, 1 Aug 2000 14:00:10 +0400 Subject: Re: Automatic long options completion for --? 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@informatik.hu-berlin.de