]> git.pld-linux.org Git - packages/coreutils.git/blob - DIR_COLORS
for fileutils
[packages/coreutils.git] / DIR_COLORS
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
4 # the system defaults.
5
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
8 # off.
9 COLOR tty
10
11 # Below, there should be one TERM entry for each termtype that is colorizable
12 TERM linux
13 TERM console
14 TERM con132x25
15 TERM con132x30
16 TERM con132x43
17 TERM con132x60
18 TERM con80x25
19 TERM con80x28
20 TERM con80x30
21 TERM con80x43
22 TERM con80x50
23 TERM con80x60
24 TERM xterm
25 TERM vt100
26
27 # EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output)
28 EIGHTBIT 1
29
30 # Below are the color init strings for the basic file types. A color init
31 # string consists of one or more of the following numeric codes:
32 # Attribute codes: 
33 # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
34 # Text color codes:
35 # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
36 # Background color codes:
37 # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
38 NORMAL 00       # global default, although everything should be something.
39 FILE 00         # normal file
40 DIR 01;34       # directory
41 LINK 01;36      # symbolic link
42 FIFO 40;33      # pipe
43 SOCK 01;35      # socket
44 BLK 40;33;01    # block device driver
45 CHR 40;33;01    # character device driver
46 ORPHAN 01;05;37;41  # orphaned syminks
47 MISSING 01;05;37;41 # ... and the files they point to
48
49 # This is for files with execute permission:
50 EXEC 01;32 
51
52 # List any file extensions like '.gz' or '.tar' that you would like ls
53 # to colorize below. Put the extension, a space, and the color init string.
54 # (and any comments you want to add after a '#')
55 .cmd 01;32 # executables (bright green)
56 .exe 01;32
57 .com 01;32
58 .btm 01;32
59 .bat 01;32
60 .tar 01;31 # archives or compressed (bright red)
61 .tgz 01;31
62 .arj 01;31
63 .taz 01;31
64 .lzh 01;31
65 .zip 01;31
66 .z   01;31
67 .Z   01;31
68 .gz  01;31
69 .jpg 01;35 # image formats
70 .gif 01;35
71 .bmp 01;35
72 .xbm 01;35
73 .xpm 01;35
This page took 0.060471 seconds and 4 git commands to generate.