Below is a sample of my dircolors file, I want subversion folders (.svn) to be colored, but i guess the extension section only applies to file names.
How do i set colors for directories with certain names?
NORMAL 00 # global default, although everything should be something. FILE 00 # normal file DIR 35 # directory LINK 01;36 # symbolic link FIFO 40;33 # pipe SOCK 01;35 # socket BLK 40;33;01 # block device driver CHR 40;33;01 # character device driver # This is for files with execute permission: EXEC 01;32 # List any file extensions like '.gz' or '.tar' that you would like ls # to colorize below. Put the extension, a space, and the color init string. # (and any comments you want to add after a '#') *~ 01;33;41 # stuff we hate to find laying around (flashing red) .svn 37 .cmd 01;32 # executables (bright green) .exe 01;32 .com 01;32 .btm 01;32