-grep.ch: Support here-string

This commit is contained in:
Sebastian Gniazdowski 2019-12-30 03:28:55 +01:00
parent 6495273ee8
commit cb70f5aede

View file

@ -26,6 +26,10 @@ integer __idx1 __idx2
} || {
# Following call, i.e. not the first one.
if (( in_redirection > 0 || this_word & 128 )) || [[ $__wrd == "<<<" ]]; then
return 1
fi
# Check if chroma should end test if token is of type
# "starts new command", if so pass-through chroma ends
[[ "$__arg_type" = 3 ]] && return 2