$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 是一个 支持 $COMP_POINT 的 Bash 集成开发工具 – 马上试用
© 2020–2024 Joachim Ansorg
声明
隐私政策
许可条款