Setting colors for ls in git bash on windows

I have installed GitHub for Windows recently and am using the git bash prompt - the one thing that is bugging me right now is when I type LS all directories are listed in blue.

How do I change my git bash shell so that when I type LS the directories are listed in a different color to blue?


It looks like this is not specifically a git issue and more the shell that you are using.

I was using the MINGW32 as my console, I found the following posts useful in getting my directory colors to display correctly:

I added the following to my bash_profile file in the /etc folder which got the colors to change

export LS_COLORS
alias ls='ls -F --color --show-control-chars'

Need Your Help

Find location of numbers in 2d array

c arrays multidimensional-array

I have two arrays. Array A and Array B. Now I need to get where in array B is sequence from array A located. I need to get location of last number and I don't know how.

C++ compiled code using 100% CPU

c++ memory memory-management

I have the following code (it gets all processes then search for a regex pattern in them, code for a larger personal project for malware detection), the code does what I want but the only problem i...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.