浏览代码

driver: Be resilient to KSH_ARRAYS being set in the calling scope

master
Matthew Martin 10 个月前
父节点
当前提交
d59ce0fbd0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      zsh-syntax-highlighting.zsh

+ 1
- 1
zsh-syntax-highlighting.zsh 查看文件

@ -123,7 +123,7 @@ _zsh_highlight()
typeset -r ret
# $region_highlight should be predefined, either by zle or by the test suite's mock (non-special) array.
(( ${+region_highlight} )) || {
(( ${+region_highlight[@]} )) || {
echo >&2 'zsh-syntax-highlighting: error: $region_highlight is not defined'
echo >&2 'zsh-syntax-highlighting: (Check whether zsh-syntax-highlighting was installed according to the instructions.)'
return $ret

正在加载...
取消
保存