Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: expand-or-complete-prefix
- X-seq: zsh-workers 3775
- From: Peter Stephenson <pws@xxxxxx>
- To: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: PATCH: expand-or-complete-prefix
- Date: Sat, 21 Feb 1998 11:00:14 +0100
- In-reply-to: ""Bart Schaefer""'s message of "Fri, 20 Feb 1998 09:26:22 MET." <980220092622.ZM3649@xxxxxxxxxxxxxxxxxxxxxxx>
"Bart Schaefer" wrote:
> I've just been testing this, and it breaks on menu completion:
>
> zagzig% bindkey '\t' expand-or-complete-prefix
> zagzig% setopt menucomplete
> zagzig% ls zlc
> ^ with cursor here, press TAB, and you get
> zagzig% ls zle_bindings.oc
> ^ press TAB again
> zagzig% ls zle_hist.oc
> ^ press TAB again
> zagzig% ls zle_hist.proc
> ^ and so forth
Is that really a bug? The prefix is 'zl', and that's what you're
completing according to what the doctor ordered: ignore the suffix,
just complete what's left of the cursor. It's intrinsically
incompatible with complete-in-word, if that's what you mean, but then
you will have to use the usual exapnd-or-complete to get that; there's
just no way of having both possibilities at once. Or am I missing
something? Do you want the suffix to be deleted, a real space
inserted before it...?
--
Peter Stephenson <pws@xxxxxx> Tel: +39 50 911239
WWW: http://www.ifh.de/~pws/
Gruppo Teorico, Dipartimento di Fisica
Piazza Torricelli 2, 56100 Pisa, Italy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author