Aloxaf / fzf-tab

Replace zsh's default completion selection menu with fzf!
MIT License
2.98k stars 90 forks source link

[Q] How to change "same_word" color? #437

Closed sobolevn closed 2 months ago

sobolevn commented 2 months ago

Ok, after fixing https://github.com/Aloxaf/fzf-tab/issues/436 I am trying to change this light grey color for the same word in query:

Снимок экрана 2024-04-27 в 14 19 09

Notice that zsh part is almost unreadable on my white terminal. Looks like it might be related to same_word here: https://github.com/Aloxaf/fzf-tab/blob/master/lib/-ftb-generate-complist#L38

sobolevn commented 2 months ago

This worked for me zstyle ':fzf-tab:*' fzf-flags '--color=hl:#5f87af'

It was changing my default colors here: https://github.com/Aloxaf/fzf-tab/blob/c7fb028ec0bbc1056c51508602dbd61b0f475ac3/lib/-ftb-fzf#L88C11-L88C14