changing directory color in CLI
Doing a quick google search (and some testing), I found out this solution: http://cygwin.com/ml/cygwin/2002-06/msg00594.html
So more or less, set the LS_COLORS
environment variable to something like di=31;1
(for red) or di=33;1
for yellow.
Here is a list of colors (the part after di=
) you can use: http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/x329.html
Also, check this out for further information: http://www.bigsoft.co.uk/blog/index.php/2008/04/11/configuring-ls_colors
user1645034
Updated on September 18, 2022Comments
-
user1645034 over 1 year
Im having a hard time reading in blue colored text, whenever i work using cli, directory colors are by default blue or so, my co-worker changed it to blue.
how can i easily change the directory color only? like turn it to red or yellow, so it stands out and not hurt my eyes. blue text and black background makes me uncomfortable.
-
foodiepanda almost 11 yearsYour co-worker changed it to blue? It's by default blue (as you just mentioned)... What did you mean by that? I'm assuming you mean directory color in
ls
? Also, you could try using a white background (it makes things so much easier for me ^^)
-