1 # Configuration file for dircolors, a utility to help you set the
2 # LS_COLORS environment variable used by GNU ls with the --color option.
4 # COLOR needs one of these arguments:
5 # 'tty' colorizes output to ttys, but not pipes (--color=auto),
6 # 'all' adds color characters to all output (--color=always),
7 # 'none' shuts colorization off (--color=never).
10 # Extra command line options for ls go here.
11 # Basically these ones are:
12 # -F = show '/' for dirs, '*' for executables, etc.
13 # -T 0 = don't trust tab spacing when formatting ls output.
14 # -b = better support for special characters
17 # Below, there should be one TERM entry for each termtype that is colorizable
36 # Below are the color init strings for the basic file types. A color init
37 # string consists of one or more of the following numeric codes:
39 # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
41 # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
42 # Background color codes:
43 # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
44 NORMAL 00 # global default, although everything should be something.
47 LINK 01;36 # symbolic link
50 BLK 40;33;01 # block device driver
51 CHR 40;33;01 # character device driver
52 ORPHAN 40;31;01 # symlink to nonexistent file
54 # This is for files with execute permission:
57 # List any file extensions like '.gz' or '.tar' that you would like ls
58 # to colorize below. Put the extension, a space, and the color init string.
59 # (and any comments you want to add after a '#')
61 .tar 01;31 # archives or compressed (bright red)
79 .jpg 01;35 # image formats
93 .mpg 01;37 # movie formats
104 .wav 36 # sound formats
121 .txt 33 # text formats
126 .cpp 01;33 # Programming stuff