driver: Correctly escape assoc key pattern
This commit is contained in:
parent
18517cc98e
commit
9d9e9662cf
|
@ -188,7 +188,7 @@ _zsh_highlight_apply_zle_highlight() {
|
||||||
integer first="$3" second="$4"
|
integer first="$3" second="$4"
|
||||||
|
|
||||||
# read the relevant entry from zle_highlight
|
# read the relevant entry from zle_highlight
|
||||||
local region="${zle_highlight[(r)${entry}:*]-}"
|
local region="${zle_highlight[(r)${(b)entry}:*]-}"
|
||||||
|
|
||||||
if [[ -z "$region" ]]; then
|
if [[ -z "$region" ]]; then
|
||||||
# entry not specified at all, use default value
|
# entry not specified at all, use default value
|
||||||
|
|
Loading…
Reference in New Issue
Block a user