From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21394 invoked from network); 29 Mar 1999 17:20:24 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 29 Mar 1999 17:20:24 -0000 Received: (qmail 3055 invoked by alias); 29 Mar 1999 17:19:59 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5975 Received: (qmail 3045 invoked from network); 29 Mar 1999 17:19:56 -0000 From: "Andrej Borsenkow" To: "Sven Wischnowsky" , Subject: RE: PATCH: old lists compstate Date: Mon, 29 Mar 1999 21:19:13 +0400 Message-ID: <002e01be7a08$443cb9b0$21c9ca95@mowp.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-reply-to: <199903290948.LAA01291@beta.informatik.hu-berlin.de> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 > > I've added a small example completer function `_menu' that may be put > before the normal `_complete' completer and that gives menucompletion > implemented fully in shell code (note that this does not work together > with normal menucompletion). > bor@itsrm2:~%> compconf correct_accept 2n match_original yes completer _complete:_match dumpfile /home/bor/.zsh.d/Completion/Core/compinit.dump correct_prompt correct to: bor@itsrm2:~%> l /t/s/gl/co bor@itsrm2:~%> l /tools/src/glib-1./config bor@itsrm2:~%> l /tools/src/glib-1./config glib-1.1.15/ glib-1.2.0/ bor@itsrm2:~%> l /tools/src/glib-1.1.15/config glib-1.1.15/ glib-1.2.0/ that is O.K., but bor@itsrm2:~%> compconf completer=_menu:_complete:_match bor@itsrm2:~%> l /t/s/gl/co bor@itsrm2:~%> l /tools/src/glib-1.1.15/config.cache glib-1.1.15/ glib-1.2.0/ BTW to the first example. I have these options: noautolist off bashautolist off nolistambiguous off but list is shown only after the second TAB (as if bashautolist was set). I'd expect, that with autolist+listambiguous list were shown after the first TAB already. Actually, I think, it started with bashautolist option ... but as I used menu completion before ... :-) And about compconf ... exaclty in the case above I missed something like compconf -i _list completer (meaning insert _list to the element completer) or, at least, compconf completer=_list:$(compconf -l completer) or like. I mean, user probably should not see this array at all ... cheers /andrej P.S. The same with zsh -f; fpath=(....); source ...; compconf completer=_menu:_complete:_match But I get additional beep (I set nobeep normally). And here list is shown immediately with the same options as above. wonders ...