After I upgraded my zsh to version 5.5.1, I get the error mentioned.
I can't understand what's the issue, couldn't find anything online.
Hi, a few questions for you:
echo $ZSH_VERSION?setopt?zsh -f and sourcing the plugin manually?echo $ZSH_VERSION
5.5.1
$ setopt
alwaystoend
autocd
autopushd
completeinword
extendedglob
extendedhistory
noflowcontrol
histexpiredupsfirst
histignoredups
histignorespace
histverify
incappendhistory
interactive
interactivecomments
kshglob
longlistjobs
monitor
promptsubst
pushdignoredups
pushdminus
shinstdin
zle
It works when I start zsh -f and sourcing manually.
Thanks. I bet it's got something to do with one of those options you have enabled. Could try disabling them one by one to see if one in particular is causing the issue.
I tried by running zsh -f, sourcing the plugin manually and enabling them one by one. Still the error doesn't happen. Do you think that disabling them with be different? I will try to do it like that too.
Interesting. It must be something else in your .zshrc file then. You could try commenting out or removing chunks of it and retrying until you narrow down exactly what's causing the issue.
Closing this because of inactivity. Please re-open if you find more info.
Sorry, I got caught up in other stuff and I didn't have time to test more because of my quite complex setup. I will come back when I have time to test again, thank you.
@ericfreese @cdarken
Hi, I'm seeing the same issue in following environment
I had small investigation and found that combination of this plugin and zsh-syntax-highilighting causes this issue. When I commented out configuration for zsh-syntax-highlighting, the error no longer occurred.
I am having the same issue :(
but the problem comes from https://github.com/hchbaw/opp.zsh
my zsh-syntax-highlighting works with zsh-autosuggestions
I've hit this same error upon an environment rebuild. Nothing changed in my ZSH plugin config over the last year. The error stops if I target the v0.5.0 release:
antigen bundle zsh-users/[email protected]
If I target the next patch release:
antigen bundle zsh-users/[email protected]
The error is re-introduced.
This is my plugin manifest, like previous commenters, I am also using zsh-syntax-highlighting / zsh-autosuggestions / hchbaw/opp.zsh
ZSH_VERSION = 5.7.1
setopt =
autocd
autopushd
completeinword
extendedhistory
noflowcontrol
histexpiredupsfirst
histignoredups
histignorespace
histverify
incappendhistory
interactive
interactivecomments
login
longlistjobs
monitor
promptsubst
pushdignoredups
pushdminus
sharehistory
shinstdin
zle
Like @cdarken, I don't hit the error with zsh -f and manual sourcing.
Came back to this, thanks to the comments of @ShawnConn and @haifengkao. Visited the github page of hchbaw/opp.zsh and saw this: This code is obsolete for zsh-5.0.8 and greater. zsh-5.0.8 comes with much more features out of the box..
So I removed it from my config and installed the master version of zsh-autosuggestions and it's working as intended.