Blue(34) as directory color is difficult to read and strain your eyes.
So, i googled and find using environment variable LS_COLORS one can modify it.
Here is one such google search result:
----------
So, i googled and find using environment variable LS_COLORS one can modify it.
Here is one such google search result:
----------
These three lines in my .bashrc file allow me to configure the color system by extension. alias ls="ls --color=auto" LS_COLORS="di=31;1:ln=36;1:ex=31;1:*~=31;1:*.html=31;1:*.shtml=37;1" export LS_COLORS And the output of this command: dircolors --print-database | less tells me about colors and codes etc that I can use..
--------
To change only directory color do this:
$ export LS_COLORS="di=31;1:
31 is for red
32 is for green
33 is for yellow
34 is for default blue
Bash directory color |
No comments:
Post a Comment