[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-readline] colored-completion-prefix vs colored-stats
From: |
Mike Frysinger |
Subject: |
[Bug-readline] colored-completion-prefix vs colored-stats |
Date: |
Mon, 13 Jul 2015 01:11:38 -0400 |
the NEWS for readline-7.0 has:
e. There is a new bindable variable, `colored-completion-prefix', which, if
set, causes the common prefix of a set of possible completions to be
displayed in color.
and the doc says:
'colored-completion-prefix'
If set to '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 'LS_COLORS' environment variable. The default is
'off'.
but my testing shows that the default is "on" ...
at any rate, when this and colored-stats are both turned on, i think the
resulting display is weird. with the prefix on, i'd see something like:
$ /sbin/unix_<tab>
unix_chkpwd* unix_update*
the "unix_" part is highlighted in light blue and the rest is not colored
at at all. with the prefix off, both are highlighted completely in bright
green. should it be mixed instead of turning off colorization entirely
after the completion point ?
e.g. what if it were:
<blue>unix_<green>chkpwd*<normal>
-mike
signature.asc
Description: Digital signature
- [Bug-readline] colored-completion-prefix vs colored-stats,
Mike Frysinger <=