[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: possible bugs with colored-stats
From: |
Chet Ramey |
Subject: |
Re: possible bugs with colored-stats |
Date: |
Wed, 28 Oct 2020 16:44:11 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.3.3 |
On 10/28/20 4:10 PM, Arnaud wrote:
> Bash Version: 5.0
> Patch Level: 17
> Release Status: release
>
> Description:
> I have colored my prompt with colors, using PS1 and PS0.
>
> PS1 ends with a color definition, so the command entered is colored.
> PS0 resets the color so the output has the standard colors.
I'm not sure what terminal emulator you're using, but that PS0 is what
turns the `normal' color to light grey on mine. It's pretty tough to see.
> I have actived colored-stats, so when I use tab completion, the
> colors I use in the command doesn't show in the tab completion.
>
> Problem 1
> If the list starts with a file, only the 1st file is colored with the
> PS1 color.
> If the list starts with a folder, the colors are ok.
I can't reproduce this.
> Problem 2
> when I list the content of a folder with ls, the color is ok (white
> in my case, until I reach a folder,
> it then switches the color of the following files to grey.
Nor this.
>
> I tried looking in the bash code to try to find the problem, but I
> cannot locate the part of the code for that (not experienced in C)
> Normally, readline should be the part I am looking for, but I also
> have readline installed in my system, so it should be in it?
This is part of readline, yes.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/