From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21174 invoked from network); 3 May 2000 14:58:33 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 3 May 2000 14:58:33 -0000 Received: (qmail 8377 invoked by alias); 3 May 2000 14:58:23 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11125 Received: (qmail 8362 invoked from network); 3 May 2000 14:58:22 -0000 Date: Wed, 3 May 2000 16:58:14 +0200 (MET DST) Message-Id: <200005031458.QAA08833@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: "Andrej Borsenkow"'s message of Wed, 3 May 2000 18:52:03 +0400 Subject: RE: Command completion Andrej Borsenkow wrote: > ... > > Just to make sure we mean the same thing. It *does* insert nslookup. Of course I tried it. I always try to try things. > The > example above was slightly incorrect; the actual screenshot after TAB is > (with cursor immediately after nslookup) > > bor@itsrm2% nslookup > Completing external command > nslookup > Completing shell function > nslookup > > So, in this case I believe, that > > - no list is to be displayed (we have just a single match) > - exact match should be immediately accepted and space inserted And that's exactly what I want, too. > If you like to see list in this case ... another style? I wondered about this, too, but what I meant was cases where there are also other strings so that get a list anyway. Ok, it would also be cool, somehow, if we could hide matches for one type when they are overridden by another type. But this would definitely require C-code support and I have no idea how to do that in a generic way. And, as I said, I have the impression that in completely ambiguous cases I would like to see the list (no, I can't really explain why). Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de