1 # Configuration file for the color ls utility
2 # This file goes in the /etc directory, and must be world readable.
3 # You can copy this file to .dir_colors in your $HOME directory to override
6 # COLOR needs one of these arguments: 'tty' colorizes output to ttys, but not
7 # pipes. 'all' adds color characters to all output. 'none' shuts colorization
11 # Extra command line options for ls go here.
12 # Basically these ones are:
13 # -F = show '/' for dirs, '*' for executables, etc.
14 # -T 0 = don't trust tab spacing when formatting ls output.
17 # Below, there should be one TERM entry for each termtype that is colorizable
39 # EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output)
42 # Below are the color init strings for the basic file types. A color init
43 # string consists of one or more of the following numeric codes:
45 # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
47 # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
48 # Background color codes:
49 # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
50 NORMAL 00 # global default, although everything should be something.
53 LINK 00;36 # symbolic link
56 BLK 40;33;01 # block device driver
57 CHR 40;33;01 # character device driver
58 ORPHAN 01;05;37;41 # orphaned syminks
59 MISSING 01;05;37;41 # ... and the files they point to
61 # This is for files with execute permission:
64 # List any file extensions like '.gz' or '.tar' that you would like ls
65 # to colorize below. Put the extension, a space, and the color init string.
66 # (and any comments you want to add after a '#')
67 .cmd 00;32 # executables (green)
74 .tar 00;31 # archives or compressed (red)
88 .jpg 00;35 # image formats