'main': Followup to fdaeec45146b: 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
# 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 } &&
! builtin type -w -- $1 >/dev/null 2>&1; then
REPLY=none