mirror of
https://github.com/zsh-users/zsh-syntax-highlighting
synced 2024-09-20 16:39:05 +02:00
'main': Add the issue number for future reference.
This commit is contained in:
parent
abec25d013
commit
809443f5c5
|
@ -184,7 +184,7 @@ _zsh_highlight_main__type() {
|
|||
#
|
||||
# The first disjunct mimics the isrelative() C call from the zsh bug.
|
||||
elif { [[ $1 != */* ]] || is-at-least 5.3 } &&
|
||||
# Add a subshell to avoid a zsh upstream bug.
|
||||
# Add a subshell to avoid a zsh upstream bug; see issue #606.
|
||||
# ### Remove the subshell when we stop supporting zsh 5.7.1 (I assume 5.8 will have the bugfix).
|
||||
! (builtin type -w -- $1) >/dev/null 2>&1; then
|
||||
REPLY=none
|
||||
|
|
Loading…
Reference in a new issue