]>
Commit | Line | Data |
---|---|---|
2a8d6a0c | 1 | # Configuration file for the color ls utility |
e2f0cad1 JR |
2 | # Synchronized with coreutils 8.5 dircolors |
3 | # This file goes in the /etc directory, and must be world readable. | |
2a8d6a0c AF |
4 | # You can copy this file to .dir_colors in your $HOME directory to override |
5 | # the system defaults. | |
6 | ||
e2f0cad1 JR |
7 | # COLOR needs one of these arguments: 'tty' colorizes output to ttys, but not |
8 | # pipes. 'all' adds color characters to all output. 'none' shuts colorization | |
9 | # off. | |
0a2096b4 | 10 | COLOR tty |
761e070b | 11 | |
e2f0cad1 JR |
12 | # Extra command line options for ls go here. |
13 | # Basically these ones are: | |
14 | # -F = show '/' for dirs, '*' for executables, etc. | |
15 | # -T 0 = don't trust tab spacing when formatting ls output. | |
16 | OPTIONS -F -T 0 | |
17 | ||
2a8d6a0c | 18 | # Below, there should be one TERM entry for each termtype that is colorizable |
e2f0cad1 JR |
19 | TERM Eterm |
20 | TERM ansi | |
21 | TERM color-xterm | |
2a8d6a0c AF |
22 | TERM con132x25 |
23 | TERM con132x30 | |
24 | TERM con132x43 | |
25 | TERM con132x60 | |
26 | TERM con80x25 | |
27 | TERM con80x28 | |
28 | TERM con80x30 | |
29 | TERM con80x43 | |
30 | TERM con80x50 | |
31 | TERM con80x60 | |
761e070b | 32 | TERM cons25 |
e2f0cad1 JR |
33 | TERM console |
34 | TERM cygwin | |
35 | TERM dtterm | |
36 | TERM eterm-color | |
37 | TERM gnome | |
38 | TERM gnome-256color | |
39 | TERM jfbterm | |
40 | TERM konsole | |
41 | TERM kterm | |
42 | TERM linux | |
43 | TERM linux-c | |
44 | TERM mach-color | |
45 | TERM mlterm | |
46 | TERM putty | |
47 | TERM putty-256color | |
761e070b | 48 | TERM rxvt |
e2f0cad1 JR |
49 | TERM rxvt-256color |
50 | TERM rxvt-cygwin | |
51 | TERM rxvt-cygwin-native | |
52 | TERM rxvt-unicode | |
53 | TERM rxvt-unicode-256color | |
54 | TERM rxvt-unicode256 | |
55 | TERM screen | |
56 | TERM screen-256color | |
57 | TERM screen-256color-bce | |
58 | TERM screen-bce | |
59 | TERM screen-w | |
60 | TERM screen.Eterm | |
61 | TERM screen.rxvt | |
62 | TERM screen.linux | |
63 | TERM st | |
64 | TERM st-256color | |
65 | TERM terminator | |
66 | TERM vt100 | |
df01f048 | 67 | TERM xterm |
e2f0cad1 JR |
68 | TERM xterm-16color |
69 | TERM xterm-256color | |
70 | TERM xterm-88color | |
761e070b | 71 | TERM xterm-color |
e2f0cad1 JR |
72 | TERM xterm-debian |
73 | ||
74 | # EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output) | |
75 | EIGHTBIT 1 | |
2a8d6a0c | 76 | |
2a8d6a0c AF |
77 | # Below are the color init strings for the basic file types. A color init |
78 | # string consists of one or more of the following numeric codes: | |
da4d0c5c | 79 | # Attribute codes: |
2a8d6a0c AF |
80 | # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed |
81 | # Text color codes: | |
82 | # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white | |
83 | # Background color codes: | |
84 | # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white | |
85 | NORMAL 00 # global default, although everything should be something. | |
da4d0c5c | 86 | FILE 00 # normal file |
e2f0cad1 | 87 | RESET 0 # reset to "normal" color |
da4d0c5c | 88 | DIR 01;34 # directory |
e2f0cad1 JR |
89 | LINK 01;36 # symbolic link (If you set this to 'target' instead of a |
90 | # numerical value, the color is as for the file pointed to.) | |
91 | MULTIHARDLINK 00 # regular file with more than one link | |
92 | FIFO 40;33 # pipe | |
b5a4eff7 | 93 | SOCK 01;35 # socket |
e2f0cad1 JR |
94 | DOOR 01;35 # door |
95 | BLK 40;33;01 # block device driver | |
96 | CHR 40;33;01 # character device driver | |
97 | ORPHAN 40;31;01 # symlink to nonexistent file, or non-stat'able file | |
b5a4eff7 | 98 | MISSING 01;05;37;41 # ... and the files they point to |
e2f0cad1 JR |
99 | SETUID 37;41 # file that is setuid (u+s) |
100 | SETGID 30;43 # file that is setgid (g+s) | |
101 | CAPABILITY 30;41 # file with capability | |
102 | STICKY_OTHER_WRITABLE 30;42 # dir that is sticky and other-writable (+t,o+w) | |
103 | OTHER_WRITABLE 34;42 # dir that is other-writable (o+w) and not sticky | |
104 | STICKY 37;44 # dir with the sticky bit set (+t) and not other-writable | |
2a8d6a0c AF |
105 | |
106 | # This is for files with execute permission: | |
e2f0cad1 | 107 | EXEC 00;32 |
2a8d6a0c AF |
108 | |
109 | # List any file extensions like '.gz' or '.tar' that you would like ls | |
110 | # to colorize below. Put the extension, a space, and the color init string. | |
111 | # (and any comments you want to add after a '#') | |
0ff471c7 | 112 | |
b5a4eff7 | 113 | # executables (bright green) |
e0400f09 TP |
114 | .bat 01;32 |
115 | .btm 01;32 | |
0ff471c7 | 116 | .cmd 01;32 |
b5a4eff7 | 117 | .com 01;32 |
e2f0cad1 | 118 | .csh 01;32 |
e0400f09 | 119 | .exe 01;32 |
e2f0cad1 | 120 | .sh 01;32 |
b5a4eff7 JR |
121 | |
122 | # archives or compressed (bright red) | |
eaf95ad6 PG |
123 | .7z 01;31 |
124 | .7zip 01;31 | |
e2f0cad1 JR |
125 | .ace 01;31 |
126 | .alz 01;31 | |
127 | .arc 01;31 | |
e6dfe972 PG |
128 | .arj 01;31 |
129 | .bz 01;31 | |
130 | .bz2 01;31 | |
e2f0cad1 | 131 | .cab 01;31 |
b5a4eff7 | 132 | .cpio 01;31 |
e6dfe972 | 133 | .deb 01;31 |
e2f0cad1 JR |
134 | .dz 01;31 |
135 | .ear 01;31 | |
e6dfe972 PG |
136 | .gz 01;31 |
137 | .img 01;31 | |
e2f0cad1 | 138 | .jar 01;31 |
e6dfe972 | 139 | .lha 01;31 |
e2f0cad1 JR |
140 | .lrz 01;31 |
141 | .lz 01;31 | |
142 | .lz4 01;31 | |
e6dfe972 | 143 | .lzh 01;31 |
d1c6b854 | 144 | .lzma 01;31 |
e2f0cad1 | 145 | .lzo 01;31 |
e6dfe972 PG |
146 | .rar 01;31 |
147 | .rpm 01;31 | |
e2f0cad1 JR |
148 | .rz 01;31 |
149 | .sar 01;31 | |
150 | .t7z 01;31 | |
e6dfe972 PG |
151 | .tar 01;31 |
152 | .taz 01;31 | |
e2f0cad1 JR |
153 | .tbz 01;31 |
154 | .tbz2 01;31 | |
e6dfe972 | 155 | .tgz 01;31 |
e2f0cad1 | 156 | .tlz 01;31 |
e6dfe972 | 157 | .tpz 01;31 |
e0400f09 | 158 | .trpm 01;31 |
e2f0cad1 | 159 | .txz 01;31 |
e6dfe972 | 160 | .tz 01;31 |
e2f0cad1 JR |
161 | .tzo 01;31 |
162 | .war 01;31 | |
a3f2148e | 163 | .xz 01;31 |
e6dfe972 PG |
164 | .z 01;31 |
165 | .Z 01;31 | |
166 | .zip 01;31 | |
167 | .zoo 01;31 | |
b5a4eff7 JR |
168 | |
169 | # image formats (bright magenta) | |
e2f0cad1 JR |
170 | .asf 01;35 |
171 | .avi 01;35 | |
e6dfe972 PG |
172 | .bmp 01;35 |
173 | .cdr 01;35 | |
e2f0cad1 JR |
174 | .cgm 01;35 |
175 | .dl 01;35 | |
176 | .emf 01;35 | |
177 | .flc 01;35 | |
178 | .fli 01;35 | |
179 | .flv 01;35 | |
e6dfe972 | 180 | .gif 01;35 |
e2f0cad1 | 181 | .gl 01;35 |
484bb068 | 182 | .jpeg 01;35 |
e6dfe972 | 183 | .jpg 01;35 |
5fad6d64 | 184 | .JPG 01;35 |
e2f0cad1 JR |
185 | .m2v 01;35 |
186 | .m4v 01;35 | |
187 | .mkv 01;35 | |
e6dfe972 | 188 | .mng 01;35 |
e2f0cad1 JR |
189 | .mov 01;35 |
190 | .mp4 01;35 | |
191 | .mp4v 01;35 | |
192 | .mpeg 01;35 | |
193 | .mpg 01;35 | |
194 | .nuv 01;35 | |
195 | .ogm 01;35 | |
e6dfe972 PG |
196 | .pbm 01;35 |
197 | .pcx 01;35 | |
198 | .pgm 01;35 | |
199 | .png 01;35 | |
200 | .ppm 01;35 | |
e2f0cad1 JR |
201 | .qt 01;35 |
202 | .rm 01;35 | |
203 | .rmvb 01;35 | |
12303d42 | 204 | .svg 01;35 |
e2f0cad1 | 205 | .svgz 01;35 |
e6dfe972 PG |
206 | .tga 01;35 |
207 | .tif 01;35 | |
e0400f09 | 208 | .tiff 01;35 |
e2f0cad1 JR |
209 | .vob 01;35 |
210 | .webm 01;35 | |
211 | .wmv 01;35 | |
e6dfe972 PG |
212 | .xbm 01;35 |
213 | .xcf 01;35 | |
214 | .xpm 01;35 | |
e2f0cad1 JR |
215 | .xwd 01;35 |
216 | .yuv 01;35 | |
b5a4eff7 | 217 | |
e2f0cad1 JR |
218 | # http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions |
219 | .axv 01;35 | |
220 | .anx 01;35 | |
221 | .ogv 01;35 | |
222 | .ogx 01;35 | |
b5a4eff7 | 223 | |
e2f0cad1 JR |
224 | # audio formats (white) |
225 | .aac 01;37 | |
e6dfe972 | 226 | .au 01;37 |
e2f0cad1 | 227 | .flac 01;37 |
e6dfe972 | 228 | .mid 01;37 |
e2f0cad1 JR |
229 | .midi 01;37 |
230 | .mka 01;37 | |
e6dfe972 | 231 | .mp3 01;37 |
e2f0cad1 | 232 | .mpc 01;37 |
e6dfe972 | 233 | .ogg 01;37 |
e2f0cad1 | 234 | .ra 01;37 |
e6dfe972 | 235 | .wav 01;37 |
e2f0cad1 JR |
236 | |
237 | # http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions | |
238 | .axa 01;37 | |
239 | .oga 01;37 | |
240 | .spx 01;37 | |
241 | .xspf 01;37 | |
b5a4eff7 | 242 | |
7c0521d2 | 243 | # documents (cyan) |
e2f0cad1 JR |
244 | .abw 00;36 |
245 | .bib 00;36 | |
246 | .doc 00;36 | |
247 | .docx 00;36 | |
248 | .dot 00;36 | |
249 | .dvi 00;36 | |
250 | .eps 00;36 | |
251 | .epub 00;36 | |
252 | .info 00;36 | |
253 | .kpr 00;36 | |
254 | .me 00;36 | |
255 | .ms 00;36 | |
256 | .odp 00;36 | |
257 | .ods 00;36 | |
258 | .odt 00;36 | |
259 | .ps 00;36 | |
260 | .ps.gz 00;36 | |
261 | .pdf 00;36 | |
262 | .pps 00;36 | |
263 | .ppt 00;36 | |
264 | .pptx 00;36 | |
265 | .rtf 00;36 | |
266 | .stw 00;36 | |
267 | .sxc 00;36 | |
268 | .sxw 00;36 | |
269 | .tex 00;36 | |
270 | .texi 00;36 | |
271 | .texinfo 00;36 | |
272 | .tm 00;36 | |
273 | .txt 00;36 | |
274 | .wri 00;36 | |
275 | .wpd 00;36 | |
276 | .xls 00;36 | |
277 | .xlsx 00;36 | |
278 | .xlw 00;36 | |
7c0521d2 PG |
279 | |
280 | # web (yellow) | |
e2f0cad1 JR |
281 | .cgi 00;33 |
282 | .css 00;33 | |
283 | .htm 00;33 | |
284 | .html 00;33 | |
285 | .php 00;33 | |
286 | .phtml 00;33 | |
287 | .shtml 00;33 | |
288 | .xml 00;33 | |
7c0521d2 PG |
289 | |
290 | # devel (bright yellow) | |
e2f0cad1 JR |
291 | .ac 01;33 |
292 | .am 01;33 | |
293 | .c 01;33 | |
294 | .C 01;33 | |
295 | .cc 01;33 | |
296 | .cpp 01;33 | |
297 | .diff 01;33 | |
298 | .f 01;33 | |
299 | .h 01;33 | |
300 | .in 01;33 | |
301 | .o 01;33 | |
0ff471c7 | 302 | .patch 01;33 |
e2f0cad1 JR |
303 | .pm 01;33 |
304 | .po 01;33 | |
305 | .pot 01;33 | |
306 | .s 01;33 | |
307 | .spec 01;33 |