On 10/29/20 6:38 AM, Arnaud wrote:
> Le 29.10.20 à 06:54, Clark Wang a écrit :
>>
>> I can reproduce the similar issue with my bash 4.4.12 and PS0="\[\e[0m\]"
>> fix it for me.
>>
>> -clark
>>
>
> I had to change at one point the PS0="\[\e[0m\] to PS0="\[\e[38;5;15m\].
Except for this changing
Le 29.10.20 à 06:54, Clark Wang a écrit :
>
> I can reproduce the similar issue with my bash 4.4.12 and PS0="\[\e[0m\]"
> fix it for me.
>
> -clark
>
I had to change at one point the PS0="\[\e[0m\] to PS0="\[\e[38;5;15m\].
I tried again, it shows correctly the output of a command (grey is ok
On Thu, Oct 29, 2020 at 4:11 AM Arnaud wrote:
>
> 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
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
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -O2 -flto -ffat-lto-objects -fexceptions -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS