Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tab results in 'bad math expression' error message #679

Open
bbugyi200 opened this issue Apr 3, 2022 · 2 comments · May be fixed by #680
Open

Tab results in 'bad math expression' error message #679

bbugyi200 opened this issue Apr 3, 2022 · 2 comments · May be fixed by #680

Comments

@bbugyi200
Copy link

bbugyi200 commented Apr 3, 2022

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:

  1. Open my zsh shell.
  2. Press TAB
  3. 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 / a411ef3

Additional Context

This just started happening yesterday seemingly at random (I did not update zsh, this plugin, or oh-my-zsh).

@bbugyi200 bbugyi200 added the bug label Apr 3, 2022
@bbugyi200 bbugyi200 linked a pull request Apr 3, 2022 that will close this issue
@kylechadha
Copy link

kylechadha commented Mar 27, 2023

Have this as well on OS X 13.2.1, but only with gcloud

@ericfreese
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants