Refer to the official documentation available on GitHub:
Set ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE
to configure the style that the
suggestion is shown with. The default is fg=8
, which will set the
foreground color to color 8 from the 256-color palette. If your
terminal only supports 8 colors, you will need to use a number between
0 and 7.
Background color can also be set, and the suggestion can be styled
bold, underlined, or standout. For example, this would show
suggestions with bold, underlined, pink text on a cyan background:
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#ff00ff,bg=cyan,bold,underline"
For more info, read the Character Highlighting section of the zsh
manual: man zshzle
or online.
Note: Some iTerm2 users have reported not being able to see the
suggestions. If this affects you, the problem is likely caused by
incorrect color settings. In order to correct this, go into iTerm2's
setting, navigate to profile > colors and make sure that the colors
for Basic Colors > Background and ANSI Colors > Bright Black are
different.
So, you can change the colour of the suggestions and make them bold (maybe even underlined).
Modify the ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE
to:
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=#d787ff,bold'
It'll make it appear much brighter than before.
You might want to change it to some other colour, for example, Cyan:
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=#00ffff,bold'
You might like underlining the suggestion:
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=#00ffff,bold,underline'
For the colour chat refer to the colour palette.