Please look at the following screenshot of my azure cloud shell:
I find the solid green coloring for directories very annoying and hard to read especially if you more directories other than the default "." and "..". Is there any way to adjust the shell to NOT color the directories?
You can take a look at the
dircolors
command, it's used to set up the color for commandls
. And there are also different colors for different types of directories. So you need to take care of which type of the directory you want to change the color.For example, the origin situation:
Then I change the
OTHER_WRITABLE
from34;42
into01;32
and it looks like this:Note: Change it carefully and remember what does the color mean.
Update:
output the current setting:
Change the color as you need, here is an example:
Apply the new setting:
Then open a new terminal, the new setting will be in use. Suggest you first backup before changing.