*plugin.zsh: Default highlight: bg=17 – if $termcap[Co] == 256

This commit is contained in:
Sebastian Gniazdowski 2016-10-31 18:53:18 +01:00
parent 13e21cd4d6
commit 32750b665e

View file

@ -15,4 +15,5 @@ zle -N history-search-multi-word
zle -N history-search-multi-word-backwards history-search-multi-word
zle -N history-search-multi-word-pbackwards history-search-multi-word
zle -N history-search-multi-word-pforwards history-search-multi-word
[[ "${+termcap[Co]}" = 1 && "${termcap[Co]}" = "256" ]] && zstyle ":history-search-multi-word" highlight-color "bg=17"
bindkey "^R" history-search-multi-word