Setting the colors of file types in ls

See http://www.bigsoft.co.uk/blog/2008/04/11/configuring-ls_colors for a good overview about how the colors used by ls are specified.

In my Cygwin .bashrc file, I put


alias ls='ls --color=auto'
alias ll='ls -l'
LS_COLORS="di=34;1:ln=35;1:ex=32;1:*~=31;1:*.html=31;1:*.shtml=37;1"
export LS_COLORS

In the third line, di=34 sets directory names to blue, ln=35 sets symlinks to purple (default is to set it to 36 which is cyan and looks bad on white background).

08/24/2018