]>
Commit | Line | Data |
---|---|---|
3f642be3 MT |
1 | # Configuration file for the color ls utility - modified for gray backgrounds |
2 | # Synchronized with coreutils 8.5 dircolors | |
3 | # This file goes in the /etc directory, and must be world readable. | |
4 | # You can copy this file to .dir_colors in your $HOME directory to override | |
5 | # the system defaults. | |
6 | ||
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. | |
10 | COLOR tty | |
11 | ||
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 | ||
18 | # Below, there should be one TERM entry for each termtype that is colorizable | |
19 | TERM linux | |
20 | TERM console | |
21 | TERM con132x25 | |
22 | TERM con132x30 | |
23 | TERM con132x43 | |
24 | TERM con132x60 | |
25 | TERM con80x25 | |
26 | TERM con80x28 | |
27 | TERM con80x30 | |
28 | TERM con80x43 | |
29 | TERM con80x50 | |
30 | TERM con80x60 | |
31 | TERM cons25 | |
32 | TERM xterm | |
33 | TERM xterm-16color | |
34 | TERM xterm-88color | |
35 | TERM xterm-256color | |
36 | TERM rxvt | |
37 | TERM rxvt-256color | |
38 | TERM rxvt-unicode | |
39 | TERM rxvt-unicode-256color | |
40 | TERM rxvt-unicode256 | |
41 | TERM xterm-color | |
42 | TERM color-xterm | |
43 | TERM vt100 | |
44 | TERM dtterm | |
45 | TERM color_xterm | |
46 | ||
47 | # EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output) | |
48 | EIGHTBIT 1 | |
49 | ||
50 | # Below are the color init strings for the basic file types. A color init | |
51 | # string consists of one or more of the following numeric codes: | |
52 | # Attribute codes: | |
53 | # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed | |
54 | # Text color codes: | |
55 | # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white | |
56 | # Background color codes: | |
57 | # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white | |
58 | #NORMAL 00 # no color code at all | |
59 | #FILE 00 # normal file, use no color at all | |
60 | RESET 0 | |
61 | DIR 00;34 # directory | |
62 | LINK 00;36 # symbolic link (If you set this to 'target' instead of a | |
63 | # numerical value, the color is as for the file pointed to.) | |
64 | MULTIHARDLINK 00 # regular file with more than one link | |
65 | FIFO 40;33 # pipe | |
66 | SOCK 00;35 # socket | |
67 | DOOR 00;35 # door | |
68 | BLK 40;33;01 # block device driver | |
69 | CHR 40;33;01 # character device driver | |
70 | ORPHAN 40;31;01 # symlink to nonexistent file, or non-stat'able file | |
71 | MISSING 01;05;37;41 # ... and the files they point to | |
72 | SETUID 37;41 # file that is setuid (u+s) | |
73 | SETGID 30;43 # file that is setgid (g+s) | |
74 | CAPABILITY 30;41 # file with capability | |
75 | STICKY_OTHER_WRITABLE 30;42 # dir that is sticky and other-writable (+t,o+w) | |
76 | OTHER_WRITABLE 34;42 # dir that is other-writable (o+w) and not sticky | |
77 | STICKY 37;44 # dir with the sticky bit set (+t) and not other-writable | |
78 | ||
79 | ||
80 | # This is for files with execute permission: | |
81 | EXEC 00;32 | |
82 | ||
83 | # List any file extensions like '.gz' or '.tar' that you would like ls | |
84 | # to colorize below. Put the extension, a space, and the color init string. | |
85 | # (and any comments you want to add after a '#') | |
86 | #.cmd 00;32 # executables (green) | |
87 | #.exe 00;32 | |
88 | #.com 00;32 | |
89 | #.btm 00;32 | |
90 | #.bat 00;32 | |
91 | #.sh 00;32 | |
92 | #.csh 00;32 | |
93 | # archives or compressed (red) | |
94 | .tar 00;31 | |
95 | .tgz 00;31 | |
96 | .arj 00;31 | |
97 | .taz 00;31 | |
98 | .lzh 00;31 | |
99 | .lzma 00;31 | |
100 | .tlz 00;31 | |
101 | .txz 00;31 | |
102 | .zip 00;31 | |
103 | .z 00;31 | |
104 | .Z 00;31 | |
105 | .dz 00;31 | |
106 | .gz 00;31 | |
107 | .lz 00;31 | |
108 | .xz 00;31 | |
109 | .bz2 00;31 | |
110 | .tbz 00;31 | |
111 | .tbz2 00;31 | |
112 | .bz 00;31 | |
113 | .tz 00;31 | |
114 | .deb 00;31 | |
115 | .rpm 00;31 | |
116 | .jar 00;31 | |
117 | .war 00;31 | |
118 | .ear 00;31 | |
119 | .sar 00;31 | |
120 | .rar 00;31 | |
121 | .ace 00;31 | |
122 | .zoo 00;31 | |
123 | .cpio 00;31 | |
124 | .7z 00;31 | |
125 | .rz 00;31 | |
126 | # image formats (magenta) | |
127 | .jpg 00;35 | |
128 | .jpeg 00;35 | |
129 | .gif 00;35 | |
130 | .bmp 00;35 | |
131 | .pbm 00;35 | |
132 | .pgm 00;35 | |
133 | .ppm 00;35 | |
134 | .tga 00;35 | |
135 | .xbm 00;35 | |
136 | .xpm 00;35 | |
137 | .tif 00;35 | |
138 | .tiff 00;35 | |
139 | .png 00;35 | |
140 | .svg 00;35 | |
141 | .svgz 00;35 | |
142 | .mng 00;35 | |
143 | .pcx 00;35 | |
144 | .mov 00;35 | |
145 | .mpg 00;35 | |
146 | .mpeg 00;35 | |
147 | .m2v 00;35 | |
148 | .mkv 00;35 | |
149 | .ogm 00;35 | |
150 | .mp4 00;35 | |
151 | .m4v 00;35 | |
152 | .mp4v 00;35 | |
153 | .vob 00;35 | |
154 | .qt 00;35 | |
155 | .nuv 00;35 | |
156 | .wmv 00;35 | |
157 | .asf 00;35 | |
158 | .rm 00;35 | |
159 | .rmvb 00;35 | |
160 | .flc 00;35 | |
161 | .avi 00;35 | |
162 | .fli 00;35 | |
163 | .flv 00;35 | |
164 | .gl 00;35 | |
165 | .dl 00;35 | |
166 | .xcf 00;35 | |
167 | .xwd 00;35 | |
168 | .yuv 00;35 | |
169 | .cgm 00;35 | |
170 | .emf 00;35 | |
171 | ||
172 | # http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions | |
173 | .axv 00;35 | |
174 | .anx 00;35 | |
175 | .ogv 00;35 | |
176 | .ogx 00;35 | |
177 | ||
178 | # audio formats (cyan) | |
179 | .aac 00;36 | |
180 | .au 00;36 | |
181 | .flac 00;36 | |
182 | .mid 00;36 | |
183 | .midi 00;36 | |
184 | .mka 00;36 | |
185 | .mp3 00;36 | |
186 | .mpc 00;36 | |
187 | .ogg 00;36 | |
188 | .ra 00;36 | |
189 | .wav 00;36 | |
190 | ||
191 | # http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions | |
192 | .axa 00;36 | |
193 | .oga 00;36 | |
194 | .spx 00;36 | |
195 | .xspf 00;36 | |
196 | ||
197 | # colorize binary documents (brown) | |
198 | #.pdf 00;33 | |
199 | #.ps 00;33 | |
200 | #.ps.gz 00;33 | |
201 | #.tex 00;33 | |
202 | #.xls 00;33 | |
203 | #.xlsx 00;33 | |
204 | #.ppt 00;33 | |
205 | #.pptx 00;33 | |
206 | #.rtf 00;33 | |
207 | #.doc 00;33 | |
208 | #.docx 00;33 | |
209 | #.odt 00;33 | |
210 | #.ods 00;33 | |
211 | #.odp 00;33 | |
212 | #.epub 00;33 | |
213 | #.abw 00;33 | |
214 | #.wpd 00;33 | |
215 | # | |
216 | # colorize text documents (brown) | |
217 | #.txt 00;33 | |
218 | #.patch 00;33 | |
219 | #.diff 00;33 | |
220 | #.log 00;33 | |
221 | #.htm 00;33 | |
222 | #.html 00;33 | |
223 | #.shtml 00;33 | |
224 | #.xml 00;33 |