$CURRENT
–
Number of the Current Word
$CURRENT is the index of the current word inside the $words array.
Its value is only correct if option ksharrays is not set.
Links
BashSupport Pro is a Zsh IDE with support for $CURRENT – try it now!