zsh-users / zsh-autosuggestions

Fish-like autosuggestions for zsh
MIT License
30.81k stars 1.85k forks source link

auto suggestions color not changing #603

Closed Tervicke closed 2 years ago

Tervicke commented 3 years ago

Describe the bug

i am on lubuntu 20.04 andi cant change the color of the auto suggestion its in default that is grey . i tried changing the color by following the steps on here the autosuggestion is working but the colors are not being changed i tried restarting the terminal and also using different values i used this line
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=014'

TheBabu commented 2 years ago

I can confirm this bug:

It seems to be an issue with zsh upgrading from 5.8 to 5.8.1, because when I downgrade it seems to work just fine

https://fossies.org/linux/zsh/README

It perhaps has to do something with:

36 PROMPT_SUBST expansion is no longer performed on arguments to prompt- 37 expansion sequences such as %F.

Alexey104 commented 2 years ago

The same problem for me after the latest zsh upgrade(5.8.1). Works fine after downgrading to 5.8.

Hackjaku commented 2 years ago

Same problem here after upgrading to 5.8.1 The suggestions now are of the same color as the foreground text (and they change with different themes). After removing and reinstalling the plugin, the coloring is right only when I type the very first character or when I delete (backspace) one.

Alexey104 commented 2 years ago

This is the problem with zsh-syntax-highlighting plugin. Update it to the latest commit. See https://github.com/zsh-users/zsh-syntax-highlighting/issues/857.

AckslD commented 2 years ago

Thanks @Alexey104, works for me :+1:

Hackjaku commented 2 years ago

I second this, thanks a lot!