]> git.pld-linux.org Git - packages/coreutils.git/blob - DIR_COLORS
adb1ad08483eb492c893ef673dabfaafeda985f9
[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 # 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.
15 OPTIONS -F -T 0
16
17 # Below, there should be one TERM entry for each termtype that is colorizable
18 TERM linux
19 TERM console
20 TERM con132x25
21 TERM con132x30
22 TERM con132x43
23 TERM con132x60
24 TERM con80x25
25 TERM con80x28
26 TERM con80x30
27 TERM con80x43
28 TERM con80x50
29 TERM con80x60
30 TERM cons25
31 TERM rxvt
32 TERM xterm
33 TERM xterm-color
34 TERM color-xterm
35 TERM color_xterm
36 TERM vt100
37 TERM dtterm
38
39 # EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output)
40 EIGHTBIT 1
41
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:
44 # Attribute codes:
45 # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
46 # Text color codes:
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.
51 FILE 00         # normal file
52 DIR 01;34       # directory
53 LINK 01;36      # symbolic link
54 FIFO 33         # pipe
55 SOCK 01;35      # socket
56 BLK 01;33       # block device driver
57 CHR 01;33       # character device driver
58 ORPHAN 01;05;37;41  # orphaned symlinks
59 MISSING 01;05;37;41 # ... and the files they point to
60
61 # This is for files with execute permission:
62 EXEC 32
63
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
68 # executables (bright green)
69
70 .sh  01;32
71 .csh 01;32
72 .bat 01;32
73 .btm 01;32
74 .cmd 01;32
75 .com 01;32
76 .exe 01;32
77
78 # archives or compressed (bright red)
79
80 .arj  01;31
81 .bz   01;31
82 .bz2  01;31
83 .cpio 01;31
84 .deb  01;31
85 .gz   01;31
86 .img  01;31
87 .lha  01;31
88 .lzh  01;31
89 .rar  01;31
90 .rpm  01;31
91 .tar  01;31
92 .taz  01;31
93 .tgz  01;31
94 .tpz  01;31
95 .trpm 01;31
96 .tz   01;31
97 .z    01;31
98 .Z    01;31
99 .zip  01;31
100 .zoo  01;31
101
102 # image formats (bright magenta)
103
104 .bmp  01;35
105 .cdr  01;35
106 .gif  01;35
107 .jpeg 01;35
108 .jpg  01;35
109 .mng  01;35
110 .pbm  01;35
111 .pcx  01;35
112 .pgm  01;35
113 .png  01;35
114 .ppm  01;35
115 .tga  01;35
116 .tif  01;35
117 .tiff 01;35
118 .xbm  01;35
119 .xcf  01;35
120 .xpm  01;35
121
122 # multimedia files (bright white)
123
124 .asf  01;37
125 .asx  01;37
126 .au   01;37
127 .avi  01;37
128 .m1v  01;37
129 .mid  01;37
130 .mp3  01;37
131 .mp4  01;37
132 .mpg  01;37
133 .mpe  01;37
134 .mpeg 01;37
135 .mod  01;37
136 .mov  01;37
137 .ogg  01;37
138 .qt   01;37
139 .rm   01;37
140 .ram  01;37
141 .s3m  01;37
142 .vob  01;37
143 .voc  01;37
144 .wav  01;37
145 .wma  01;37
146 .wmv  01;37
147 .xm   01;37
148
149 # documents (blue)
150
151 .abw  36
152 .css  36
153 .doc  36
154 .dot  36
155 .dvi  36
156 .eps  36
157 .htm  36
158 .html 36
159 .info 36
160 .kpr  36
161 .me   36
162 .ms   36
163 .ps   36
164 .pdf  36
165 .pps  36
166 .ppt  36
167 .rtf  36
168 .sxc  36
169 .sxw  36
170 .tex  36
171 .texi 36
172 .texinfo 36
173 .txt  36
174 .wri  36
175 .xls  36
176 .xlw  36
177
178 # devel (yellow)
179
180 .ac   01;33
181 .am   01;33
182 .c    01;33
183 .cc   01;33
184 .cpp  01;33
185 .diff 01;33
186 .f    01;33
187 .h    01;33
188 .in   01;33
189 .o    01;33
190 .patch 01;33
191 .po   01;33
192 .pot  01;33
193 .s    01;33
194 .spec 01;33
This page took 0.035639 seconds and 3 git commands to generate.