Просмотр исходного кода

tests: Avoid using new zmodload flags

Unbreaks build on pre-5.4.
pull/463/head
Matthew Martin 6 лет назад
Родитель
Сommit
3e56294543
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      highlighters/regexp/test-data/word-boundary.zsh

+ 1
- 1
highlighters/regexp/test-data/word-boundary.zsh Просмотреть файл

@ -27,7 +27,7 @@
# vim: ft=zsh sw=2 ts=2 et
# -------------------------------------------------------------------------------------------------
if zmodload -s zsh/pcre; then
if zmodload zsh/pcre 2>/dev/null; then
setopt RE_MATCH_PCRE
ZSH_HIGHLIGHT_REGEXP+=('\bsudo\b' 'fg=white,bold,bg=red')

Загрузка…
Отмена
Сохранить