lsd-rs / lsd

The next gen ls command
Apache License 2.0
13.54k stars 439 forks source link

Can't see black-type filetypes #742

Closed jrwrigh closed 2 years ago

jrwrigh commented 2 years ago

Expected behavior

The color highlighting for *.orig files is practically invisible. This is likely due to my terminal color choices, but I've never had this issue with vanilla ls

Actual behavior

image

Normal ls is obviously using a different color than lsd (I've aliased ls=lsd, so \ls ignores aliases and is thus the GNU ls)

meain commented 2 years ago

It is actually coming from your LS_COLORS here *.orig=01;30. The reason why it shows up in ls is because it uses 16 colors and most terminal emulators automatically make bold colors into bright versions for 16 color forms. In lsd we automatically convert all colors to 256 which is untouched by terminal emulators. You can follow more on this at https://github.com/Peltoche/lsd/issues/609

What I would reccomend is to change your LS_COLORS to the color you need. In this case replace the orig part with something like *.orig=01;37