mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-11 04:30:44 +02:00
readline: use a custom extension in LS_COLORS to set the colored completion prefix, if present
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
.\" Case Western Reserve University
|
||||
.\" chet.ramey@case.edu
|
||||
.\"
|
||||
.\" Last Change: Wed Jun 16 09:49:37 EDT 2021
|
||||
.\" Last Change: Mon Nov 15 17:06:54 EST 2021
|
||||
.\"
|
||||
.TH READLINE 3 "2021 June 16" "GNU Readline 8.1"
|
||||
.TH READLINE 3 "2021 November 15" "GNU Readline 8.1"
|
||||
.\"
|
||||
.\" File Name macro. This used to be `.PN', for Path Name,
|
||||
.\" but Sun doesn't seem to like that very much.
|
||||
@@ -359,6 +359,9 @@ If set to \fBOn\fP, when listing completions, readline displays the
|
||||
common prefix of the set of possible completions using a different color.
|
||||
The color definitions are taken from the value of the \fBLS_COLORS\fP
|
||||
environment variable.
|
||||
If there is a color definition in \fB$LS_COLORS\fP for the custom suffix
|
||||
"readline-colored-completion-prefix", readline uses this color for
|
||||
the common prefix instead of its default.
|
||||
.TP
|
||||
.B colored\-stats (Off)
|
||||
If set to \fBOn\fP, readline displays possible completions using different
|
||||
|
||||
@@ -445,6 +445,9 @@ If set to @samp{on}, when listing completions, Readline displays the
|
||||
common prefix of the set of possible completions using a different color.
|
||||
The color definitions are taken from the value of the @env{LS_COLORS}
|
||||
environment variable.
|
||||
If there is a color definition in @env{LS_COLORS} for the custom suffix
|
||||
@samp{readline-colored-completion-prefix}, Readline uses this color for
|
||||
the common prefix instead of its default.
|
||||
The default is @samp{off}.
|
||||
|
||||
@item colored-stats
|
||||
|
||||
@@ -4,7 +4,7 @@ Copyright (C) 1988-2021 Free Software Foundation, Inc.
|
||||
|
||||
@set EDITION 8.1
|
||||
@set VERSION 8.1
|
||||
@set UPDATED 16 June 2021
|
||||
@set UPDATED-MONTH June 2021
|
||||
@set UPDATED 15 November 2021
|
||||
@set UPDATED-MONTH November 2021
|
||||
|
||||
@set LASTCHANGE Wed Jun 16 09:50:11 EDT 2021
|
||||
@set LASTCHANGE Mon Nov 15 17:05:28 EST 2021
|
||||
|
||||
Reference in New Issue
Block a user