'main': Followup to fdaeec4514
: Update comment.
That revision was itself a followup to 51614ca2c9
.
This commit is contained in:
parent
094329eb14
commit
7d38d07255
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user