main: Fix blacklist dirs check when there is more than one element

This commit is contained in:
Matthew Martin
2018-09-24 07:07:32 -05:00
parent 3a7ddcda0b
commit 1eedb23c65
2 changed files with 2 additions and 2 deletions

View File

@@ -771,7 +771,7 @@ _zsh_highlight_main_highlighter_check_path()
tmp_path=$tmp_path:a
while [[ $tmp_path != / ]]; do
[[ -n "${(M)X_ZSH_HIGHLIGHT_DIRS_BLACKLIST:#$tmp_path}" ]] && return 1
[[ -n ${(M)X_ZSH_HIGHLIGHT_DIRS_BLACKLIST:#$tmp_path} ]] && return 1
tmp_path=$tmp_path:h
done