zsh-autosuggestions
zsh-autosuggestions copied to clipboard
Tab results in 'bad math expression' error message
Describe the bug
The following error message is printed to STDERR anytime I press the TAB key:
_zsh_autosuggest_highlight_apply:3: bad math expression: operator expected at `POSTDISPLA...'
To Reproduce
Steps to reproduce the behavior:
- Open my zsh shell.
- Press TAB
- Watch error message print to console.
Expected behavior
No error message.
Desktop
- OS + distribution: Debian GNU/Linux 11 (bullseye)
- Zsh version: zsh 5.8 (x86_64-debian-linux-gnu)
- Plugin version: v0.7.0 / a411ef3e0992d4839f0732ebeb9823024afaaaa8
Additional Context
This just started happening yesterday seemingly at random (I did not update zsh, this plugin, or oh-my-zsh).
Have this as well on OS X 13.2.1, but only with gcloud
This will need more specific reproduction instructions. Please try zsh -df and source the plugin manually and try to reproduce. If you cannot reproduce with that, please add components from your .zshrc file one at a time until you see which one is responsible for the error.