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

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<CURSOR HERE>
> 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@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author