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
34 # Below are the color init strings for the basic file types. A color init
35 # string consists of one or more of the following numeric codes:
37 # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
39 # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
40 # Background color codes:
41 # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
42 NORMAL 00 # global default, although everything should be something.
45 LINK 01;36 # symbolic link
48 BLK 40;33;01 # block device driver
49 CHR 40;33;01 # character device driver
50 ORPHAN 40;31;01 # symlink to nonexistent file
52 # This is for files with execute permission:
55 # List any file extensions like '.gz' or '.tar' that you would like ls
56 # to colorize below. Put the extension, a space, and the color init string.
57 # (and any comments you want to add after a '#')
59 .tar 01;31 # archives or compressed (bright red)
77 .jpg 01;35 # image formats
91 .mpg 01;37 # movie formats
102 .wav 36 # sound formats
119 .txt 33 # text formats
124 .cpp 01;33 # Programming stuff