mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-07 10:42:28 +02:00
new readline command `export-completions'; update documentation; update translations with new strings; Makefile updates
This commit is contained in:
+25
-1
@@ -4415,6 +4415,30 @@ RREEAADDLLIINNEE
|
||||
Identical to mmeennuu--ccoommpplleettee, but moves backward through the list
|
||||
of possible completions, as if mmeennuu--ccoommpplleettee had been given a
|
||||
negative argument. This command is unbound by default.
|
||||
eexxppoorrtt--ccoommpplleettiioonnss
|
||||
Perform completion on the word before point as described above
|
||||
and write the list of possible completions to rreeaaddlliinnee's output
|
||||
stream using the following format, writing information on sepa-
|
||||
rate lines:
|
||||
|
||||
The number of matches;
|
||||
The word being completed;
|
||||
S:E, where S and E are the start and end offsets of the word
|
||||
in the readline line buffer; then
|
||||
Each match, one per line
|
||||
|
||||
If there are no matches, the first line will be 0, and this com-
|
||||
mand will not print any output after the S:E. If there is only
|
||||
a single match, this prints a single line containing it. If
|
||||
there is more than one match, this prints the common prefix of
|
||||
the matches, which may be empty, on the first line after the
|
||||
S:E, then the matches on subsequent lines. In this case, N will
|
||||
include the first line with the common prefix.
|
||||
|
||||
The user or application should be able to accommodate the possi-
|
||||
bility of a blank line. The intent is that the user or applica-
|
||||
tion reads N lines after the line containing S:E to obtain the
|
||||
match list. This command is unbound by default.
|
||||
ddeelleettee--cchhaarr--oorr--lliisstt
|
||||
Deletes the character under the cursor if not at the beginning
|
||||
or end of the line (like ddeelleettee--cchhaarr). At the end of the line,
|
||||
@@ -7373,4 +7397,4 @@ BBUUGGSS
|
||||
|
||||
Array variables may not (yet) be exported.
|
||||
|
||||
GNU Bash 5.3 2024 October 23 _B_A_S_H(1)
|
||||
GNU Bash 5.3 2024 November 15 _B_A_S_H(1)
|
||||
|
||||
Reference in New Issue
Block a user