[Pkg-zsh-devel] Bug#842994: Bug#842994: Bug#842994: zsh-syntax-highlighting: shell flooded with error messages

Daniel Shahaf danielsh at apache.org
Thu Nov 3 01:45:11 UTC 2016


Daniel Shahaf wrote on Thu, Nov 03, 2016 at 01:34:52 +0000:
> raphael wrote on Wed, Nov 02, 2016 at 23:02:43 +0100:
> > _zsh_highlight_main__type:35: no matches found: (( 1 ))
> > _zsh_highlight_highlighter_main_paint:490: no matches found: (( already_added ))
> > 
> 
> These lines are:
> 
>     if ! (( already_added )); then
>   if ! (( $+REPLY )); then
> 

As a workaround, you can try moving the «!» to inside the inner
parentheses.

      if (( ! already_added )); then
    if (( ! $+REPLY )); then

> Have you aliased «!» to anything?  Can you share the output of `setopt`
> (without arguments)?
> 
> Or — instead of these two — could you provide a minimal zshrc that
> reproduces the problem?



More information about the Pkg-zsh-devel mailing list