zsh-syntax-highlighting: Widget binding ignores are breaking hchbaw/opp.zsh
If I use both zsh-syntax-highlighting and opp.zsh, opp produces an error whenever a new shell is started:
(eval):1: bad pattern: orig-opp-gps-( opp-gps-(
(eval):1: parse error near `)'
(eval):1: parse error near `;'
(eval):1: parse error near `;'
(eval):1: bad pattern: orig-opp-gps-[
(eval):1: parse error near `}'
I was able to narrow it down to zsh-syntax-highlighting, and discovered this behavior was introduced in 18df692. The previous commit (7044c19) works fine.
My zshrc is available here: https://github.com/zhimsel/dotfiles/blob/master/zshrc That should be current and live on my machine.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 16 (10 by maintainers)
Commits related to this issue
- widget binding: Unbreak the build. The last commit inadvertently broke interactive use, although the test suite passed. See issue #278. — committed to zsh-users/zsh-syntax-highlighting by danielshahaf 8 years ago
- widget binding: Further unbreak the build. 7e7e291b2047 broke 'zle -C' completions, as reported in #278 just now. — committed to zsh-users/zsh-syntax-highlighting by danielshahaf 8 years ago
Nope, it was a bug. Should be fixed by 11d3783.