Can I set `ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE` to show red text when `history` autosuggest strategy is used and blue text when `completion` engine is used? #599
I know that ZSH_AUTOSUGGEST_STRATEGY=(history completion) will first try to find a suggestion from your history, but, if it can't find a match, will find a suggestion from the completion engine. I also know that ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE configures the style that a suggestion is shown with.
Is there a way to show one font color (e.g. red) for suggestions from my history and another font color (e.g. blue) for suggestions from the completion engine?
I know that
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
will first try to find a suggestion from your history, but, if it can't find a match, will find a suggestion from the completion engine. I also know thatZSH_AUTOSUGGEST_HIGHLIGHT_STYLE
configures the style that a suggestion is shown with.Is there a way to show one font color (e.g. red) for suggestions from my
history
and another font color (e.g. blue) for suggestions from thecompletion
engine?