What are your LS_COLORS?

After installing the full version of Cygwin, I open the MinTTY shell and I like the green color on black. However, when I do "ls", I get a blue color for directories. This is not very readable. I found that the LS_COLORS environment variable controls the output of ls. Here is my current default:

no = 00: fi = 00: di = 00; 34: ln = 00; 36: pi = 40; 33: so = 00; 35: bd = 40; 33; 01: cd = 40; 33; 01:
or = 01; 05; 37; 41: mi = 01; 05; 37; 41: ex = 00; 32: *. cmd = 00; 32: *. exe = 00; 32:
* .com = 00; 32: *. btm = 00; 32: *. bat = 00; 32: *. sh = 00; 32: *. csh = 00; 32: *. tar = 00; 31:
* .tgz = 00; 31: *. arj = 00; 31: *. taz = 00; 31: *. lzh = 00; 31: *. zip = 00; 31: *. z = 00; 31:
* .Z = 00; 31: *. Gz = 00; 31: *. Bz2 = 00; 31: *. Bz = 00; 31: *. Tz = 00; 31: *. Rpm = 00; 31:
* .cpio = 00; 31: *. jpg = 00; 35: *. gif = 00; 35: *. bmp = 00; 35: *. xbm = 00; 35: *. xpm = 00; 35:
* .png = 00; 35: *. tif = 00; 35:

Going from di=00;34to di=00;94makes it more readable. Has anyone found other useful tweaks?

+3
source share
2 answers

For readability, instead of changing the colors LS_COLORS produces, it’s smarter to change how your terminal interprets these colors by matching “dark blue” with a more readable RGB value. If blue is not readable to you in ls, it will be unreadable to you everywhere.

As a rule, the main time you need to change LS_COLORSis when you want to lsknow about other extensions or relate to them separately.

+11
source

, .

( Cygwin, )

.

HTH

0

Source: https://habr.com/ru/post/1751037/


All Articles