synced up to latest

This commit is contained in:
Paul Ackersviller 2016-12-18 23:30:55 -05:00
commit b46769b181
7 changed files with 172 additions and 67 deletions

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