Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: Command completion in nslookup
- X-seq: zsh-workers 11209
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>, <zsh-workers@xxxxxxxxxxxxxx>
- Subject: RE: Command completion in nslookup
- Date: Fri, 5 May 2000 18:53:49 +0400
- Importance: Normal
- In-reply-to: <1000505145023.ZM662@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
>
> On May 5, 4:35pm, Sven Wischnowsky wrote:
> } Subject: Re: Command completion in nslookup
> }
> } Andrej Borsenkow wrote:
> }
> } > If I press TAB on empty line, nothing happens. Yes, I
> remember, it was
> } > done on purpose for normal command line completion
> }
> } [...] should we change it so that we get this insert-tab-in-
> } column-one only when the completion code is *not* about to call a
> } completion widget?
>
> You can get this effect already:
>
> really-do-complete-word-even-in-column-one() { zle
> complete-word "$@" }
> bindkey '\t' really-do-complete-word-even-in-column-one
>
But how do I get it for nslookup only (or for any nslookup-like case)?
I'd prefer some context-based solution ... Sven's suggestion looks good
with some shell-level support.
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author