HIGHTLIGHT_STYLE options added.

Hex color code & other color options listed.
This commit is contained in:
MR-A 2022-01-20 10:57:43 +00:00 committed by GitHub
parent a411ef3e09
commit 9505bfcb12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,12 @@
# Uses format of `region_highlight` # Uses format of `region_highlight`
# More info: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Zle-Widgets # More info: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Zle-Widgets
(( ! ${+ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE} )) && (( ! ${+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 # Prefix to use when saving original versions of bound widgets
(( ! ${+ZSH_AUTOSUGGEST_ORIGINAL_WIDGET_PREFIX} )) && (( ! ${+ZSH_AUTOSUGGEST_ORIGINAL_WIDGET_PREFIX} )) &&