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 1/2] 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} )) && From 926329c6d805132ce50b93d2dd898a3d0e11ee82 Mon Sep 17 00:00:00 2001 From: MR-A <52797899+MR-A0101@users.noreply.github.com> Date: Thu, 20 Jan 2022 11:06:14 +0000 Subject: [PATCH 2/2] Minor changes () --- zsh-autosuggestions.zsh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zsh-autosuggestions.zsh b/zsh-autosuggestions.zsh index a4be057..35efe74 100644 --- a/zsh-autosuggestions.zsh +++ b/zsh-autosuggestions.zsh @@ -35,10 +35,10 @@ (( ! ${+ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE} )) && 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' || +# 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} )) &&