From 9505bfcb12ebfdde6da703b534b2ec756f27c9fc Mon Sep 17 00:00:00 2001 From: MR-A <52797899+MR-A0101@users.noreply.github.com> Date: Thu, 20 Jan 2022 10:57:43 +0000 Subject: [PATCH] HIGHTLIGHT_STYLE options added. Hex color code & other color options listed. --- zsh-autosuggestions.zsh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/zsh-autosuggestions.zsh b/zsh-autosuggestions.zsh index b19cac7..a4be057 100644 --- a/zsh-autosuggestions.zsh +++ b/zsh-autosuggestions.zsh @@ -33,7 +33,12 @@ # Uses format of `region_highlight` # More info: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Zle-Widgets (( ! ${+ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE} )) && -typeset -g ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=8' +typeset -g ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=#808080' + +#1=Red, 5=Purple, 9=Red +#2=Cyan, 6=Light_Blue, 0=Black +#3=Yellow, 7=White +#4=Blue, 8=Dull_Cyan || or you can use Hexa Color code as 'fg=#e91e63' || # Prefix to use when saving original versions of bound widgets (( ! ${+ZSH_AUTOSUGGEST_ORIGINAL_WIDGET_PREFIX} )) &&