Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bugreport: completion hanging at ubo<Tab> - endless loop
On Wednesday, February 23, 2011, Peter Stephenson
<p.w.stephenson@xxxxxxxxxxxx> wrote:
>
> To analyse a command line to find the current context, completion adds
> an "x" at the cursor position which it later removes. In this case, the
> "x" completes the word "ubox", which is then expanded to "ls". The
> completion system doesn't notice and assumes it still has the original
> command line.
Maybe the right thing to do here is insert something other than an "x"
-- a metafied character, for example, something that can't appear in
normal input. Unfortunately I'm not able to look at the source at the
moment so I don't know whether the string is already metafied at that
point. At least pick something less likely to form part of an actual
word.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author