$YANK_ACTIVE
–
Indicator if text was yanked
$YANK_ACTIVE
contains a non-zero value if text has just been pasted into the buffer.
Links
BashSupport Pro is a Zsh IDE with support for $YANK_ACTIVE – try it now!