[Pkg-zsh-devel] Bug#871787: Bug#871787: zsh: error "defining function based on alias ..."
Vincent Lefevre
vincent at vinc17.net
Fri Aug 11 16:40:06 UTC 2017
Control: retitle -1 zsh: parse error when defining a function based on an alias
Control: tag -1 - moreinfo unreproducible
On 2017-08-11 17:17:36 +0200, Axel Beckert wrote:
> > Well, I'm not sure whether there are other issues or this is a
> > consequence of the above bug, but completions are alo broken.
> > For instance, I can no longer complete on the "man" command.
>
> Works fine for me on a first glance, both without arguments as well as
> with the beginning of a command already typed.
The issue was due to the parse error in the function definition
based on an alias: zsh stopped reading the script, so breaking
things even more.
Shouldn't this be just a warning? Or just a normal error?
--
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
More information about the Pkg-zsh-devel
mailing list