mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-11-11 11:11:50 -05:00
chore(zsh-syntax-highlighting): update to e6683f20 (#14175)
Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
parent
42a4ccb1b1
commit
48feb570f7
@@ -1240,9 +1240,14 @@ _zsh_highlight_main_highlighter_check_path()
|
||||
fi
|
||||
tmp_path=$tmp_path:a
|
||||
|
||||
local candidate_new_tmp_path
|
||||
while [[ $tmp_path != / ]]; do
|
||||
[[ -n ${(M)ZSH_HIGHLIGHT_DIRS_BLACKLIST:#$tmp_path} ]] && return 1
|
||||
tmp_path=$tmp_path:h
|
||||
candidate_new_tmp_path=${tmp_path:h}
|
||||
if [[ $candidate_new_tmp_path == $tmp_path ]]; then
|
||||
break
|
||||
fi
|
||||
tmp_path=${candidate_new_tmp_path}
|
||||
done
|
||||
|
||||
if (( in_command_position )); then
|
||||
|
||||
Reference in New Issue
Block a user