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

Re: Bug#733075: Bug#733075: zsh: command completion not working after semicolon



On Wed, 25 Dec 2013 10:13:36 -0800
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> I think this is the right thing, but it would be helpful if someone
> can also check that the redirection issue has not regressed.  (There
> are no tests of command completion in Y01, so I'm not sure how to
> add a regression test for these.)

That was a crash when completing after the "<" in

  for f in 1; do < x

which was very easy to reproduce, and that's still working after the
change.

Regression tests for interactive features is another place needing a
volunteer (who wouldn't need to know about internals).  Felix did some
good work on Zle testing but it really needs a permanent maintainer.

get_comp_string() is screaming out for something less ad hoc, but I
don't know what that is apart from rewriting the shell to provide a
partial parse tree for a given context, which isn't going to happen.

pws



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