$ISEARCHMATCH_ACTIVE
–
Prefix of completion match(es)
$ISEARCHMATCH_ACTIVE
contains a non-zero value if $BUFFER
is currently matched
by an incremental search pattern.
$ISEARCHMATCH_START
and $ISEARCHMATCH_END
define start and end location of the matched part.
Links
BashSupport Pro is a Zsh IDE with support for $ISEARCHMATCH_ACTIVE – try it now!