'main': Followup to fdaeec4514: Update comment.

That revision was itself a followup to 51614ca2c9.
This commit is contained in:
Daniel Shahaf 2016-10-17 20:46:46 +00:00
parent 094329eb14
commit 7d38d07255

View File

@ -140,7 +140,7 @@ _zsh_highlight_main__type() {
# exists and is in $PATH). Avoid triggering the bug, at the expense of # exists and is in $PATH). Avoid triggering the bug, at the expense of
# falling through to the $() below, incurring a fork. (Issue #354.) # falling through to the $() below, incurring a fork. (Issue #354.)
# #
# The second disjunct mimics the isrelative() C call from the zsh bug. # The first disjunct mimics the isrelative() C call from the zsh bug.
elif { [[ $1 != */* ]] || is-at-least 5.3 } && elif { [[ $1 != */* ]] || is-at-least 5.3 } &&
! builtin type -w -- $1 >/dev/null 2>&1; then ! builtin type -w -- $1 >/dev/null 2>&1; then
REPLY=none REPLY=none