Open SeanOBoyle opened 2 years ago
In the same boat....
I'm trying to see what could cause it - there another bug around this plugin conflicting with syntax highlighting #673 . On a whim, I've disabled syntax highlighting - and at least it's not crapped out for the last 10 mins
I'm getting this as well, haven't figured out what's going on yet;.
I'm now seeing this issue with Ubuntu 20.04.4 LTS.
(Previously I had only seen the issue on the somewhat archaic Oracle Linux 7.)
+1
+1 let me pile on, I get this on Ubuntu 22.04 LTS, as well (zsh version zsh 5.8.1 (x86_64-ubuntu-linux-gnu)
)
It’s very strange. I have the same .zshrc on four computers (one Mac and three Debian) and it only happens on one of the Debian boxes. All running the same version of zsh.
I also use syntax highlighting, Will try disabling that and see if it makes a deference.
Yeah, it doesn't seem dependent on zsh version, maybe there are some specific system level scripts/compilation options that are done on ubuntu/debian?
I looked into this issue last week, https://github.com/brookhong/zsh-autosuggestions/commit/66aa318713277cb66676f77d63fb2696b54882df seems to have fixed the issue for me.
I looked into this issue last week, brookhong@66aa318 seems to have fixed the issue for me.
This seems to have fixed it for me, thanks!!!
Describe the bug
This is probably more a cry for help than an autosuggest bug.. any guidance as to what this error message means would be really appreciated before this bug is rightly closed as 'not repeatable' I am not able to repeat when I only source autosuggest.
On this specific OS (see below) - after a series of 'cd' and 'ls' commands the console will start to see the following on every command: _zsh_autosuggest_bind_widget:zle:47: widget name `.foo' is protected repeated across many widgets (see bottom of bug for the real and complete list)
Repeating commands can make this error message appear and disappear. Sometimes the error doesn't appear immediately - it takes a series of command line commands before it appears .. then it gets stuck - so it appears on every command .. and then after another series of 'cd' and 'ls' or other simple commands .. it eventually disappears. Only to again appear later. This makes the usual technique of removing lines from the rc file to find the offender really challenging. So far the only sure-fire way to get rid of the error message is to comment out autosuggestions -- and I don't want to do that!
Also worth noting that I use this same rc file across a number of different machines / OS; I only have this issue on one OS: Oracle Linux 7 (see below for details)
To Reproduce
Steps to reproduce the behavior: load the rc file posted here: https://github.com/SeanOBoyle/zshrc on an Oracle Linux 7 machine. Type commands until the error message appears.
Not able to reproduce when I only source autosuggestions.
Expected behavior
Screenshots
NA
Desktop
OS + distribution: Oracle Linux Server release 7.9 (3.10.0-1160.24.1.el7.x86_64)
Zsh version: 5.0.2
Plugin version: commit a411ef3e0992d4839f0732ebeb9823024afaaaa8
Additional context
Full Error Output: