[Pkg-zsh-devel] Bug#353863: Bugreport: completion hanging at ubo<Tab> - endless loop
Bart Schaefer
schaefer at brasslantern.com
Wed Feb 23 20:03:00 UTC 2011
On Wednesday, February 23, 2011, Peter Stephenson
<p.w.stephenson at ntlworld.com> 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.
More information about the Pkg-zsh-devel
mailing list