$COMP_POINT  –  Relative Position of Cursor

$COMP_POINT is the offset of the cursor position, relative to the beginning of the current command.

This variable is only available in functions invoked by the programmable completion.

BashSupport Pro is a Bash IDE with support for $COMP_POINTtry it now!
© 2020–2024 Joachim Ansorg
Imprint
Privacy Policy
Legal