You are not logged in.
Hello everybody,
When I use the 'ls' command in terminator the folders are shown in dark blue on black background.
It is hard for me read.
How to change that color from dark bule to yellow.
Thank you in advance!
Last edited by amaro (2020-07-13 15:08:31)
Offline
man dircolorsHowever you probably just want to fix your colorscheme?
Offline
Whether you want to change dircolors/LS_COLORS or change your colorscheme depends on whether you just want better visibility with a brighter/lighter shade of blue, or whether you really want the directories to be yellow.
For the former, definitely just change your colorscheme (which you should probably do anyways if some colors are not easy to read). But I'd advise against changing colors 4/12 to anything to far off of a shade of blue (e.g., don't change them to yellow). While there is no actual rule, it is such an entrenched de-facto standard that the first 15 colors will be some shade of their default color (1-red, 2-green, etc) that many terminal programs will use these colornames (red, brightred ...). If you change color 4 to be yellow, then somewhere down the line you'll have to enter "color=blue" into a config file to get content to show up as yellow!
So adjust your colorscheme so that the first 15 colors are appealing and/or easy to read. Then if you still want to rearrange how items are displayed by `ls`, use dircolors/LS_COLORS.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thank you, seth!
Helpful as usual.
Thank you, Trilby!
Excellent explanation.
Offline