ogham / exa

A modern replacement for ‘ls’.
https://the.exa.website/
MIT License
23.45k stars 658 forks source link

Option to disable bold text in output #1205

Open Solarunit opened 1 year ago

Solarunit commented 1 year ago

I think it would be nice to have a global option to disable bold text in output. At the moment to do that you have to modify every color in .bashrc e.g.

export EXA_COLORS="uu=33:gu=33..." https://github.com/ogham/exa/issues/1203

It can take a lot of time to figure out the output item and corresponding color.

I guess the single command flag would be a nice addition, something like this:

exa --disable-bold

eggbean commented 1 year ago

If your EXA_COLORS are any of the eight bold colours, they text will be bold. Exa isn't able to make bold colours not bold. You either have to change the colours to another non-bold colour or disable bright colours showing in bold in your terminal settings.

8 of the 16 ANSI colours are bold because that is how you've set your terminal emulator and exa has nothing to do with it. It is printing those colours in bold because the default EXA_COLORS variable is using a bold colour.