compgen -g command cause repeatable autosuggestions crash, tested on multiple machines.
To Reproduce
Steps to reproduce the behavior:
configure oh-my-zsh
add zsh-autosuggestions to plugin(in .zshrc)
type command compgen -g
sudo apt install zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
cd .oh-my-zsh/custom/plugin/ && git clone https://github.com/zsh-users/zsh-autosuggestions.git && cd ~
vim ~/.zshrc
# add add zsh-autosuggestions to plugin=()
compgen -g
Expected behavior
no extra display
Screenshots
➜ ~ compgen -g
_tags:comptags:36: can only be called from completion function
_tags:comptry:55: can only be called from completion function
_tags:comptags:60: can only be called from completion function
➜ ~
_zsh_autosuggest_highlight_apply:3: bad math expression: operator expected at `POSTDISPLA...'
➜ ~
➜ ~
_zsh_autosuggest_highlight_apply:3: bad math expression: operator expected at `POSTDISPLA...'
➜ ~
➜ ~ e
_zsh_autosuggest_highlight_apply:3: bad math expression: operator expected at `POSTDISPLA...'
➜ ~ exit
_zsh_autosuggest_highlight_apply:3: bad math expression: operator expected at `POSTDISPLA...'
➜ ~ exit
_zsh_autosuggest_highlight_apply:3: bad math expression: operator expected at `POSTDISPLA...'
➜ ~ exit
_zsh_autosuggest_highlight_apply:3: bad math expression: operator expected at `POSTDISPLA...'
➜ ~ exit
_zsh_autosuggest_highlight_apply:3: bad math expression: operator expected at `POSTDISPLA...'
Describe the bug
compgen -g
command cause repeatable autosuggestions crash, tested on multiple machines.To Reproduce
Steps to reproduce the behavior:
compgen -g
Expected behavior
no extra display
Screenshots
Desktop
Additional context