Closed aca closed 2 years ago
Need to fix COMP_WORDS from
[0]: journalctl
[1]: ADDRESS=
to
[0]: journalctl
[1]: ADDRESS
[2]: =
Currently COMP_WORDS is set through
COMP_WORDS=($COMP_LINE)
Need to find how bash does
COMP_WORDS
An array variable (see Arrays below) consisting of the individual words
in the current command line. The line is split into words as readline
would split it, using COMP_WORDBREAKS as described above. This vari‐
able is available only in shell functions invoked by the programmable
completion facilities (see Programmable Completion below).
not working on elv