$COMP_LINE
–
Current Command Line
$COMP_LINE
is contains the current command line.
This variable is only available in functions and external commands invoked by the programmable completion.
Links
BashSupport Pro 是一个 支持 $COMP_LINE 的 Bash 集成开发工具 – 马上试用!