]>
Commit | Line | Data |
---|---|---|
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 | # NOTE: | |
7 | # The keywords COLOR, OPTIONS and EIGHTBIT (honored by the slackware version | |
8 | # of dircolors) are recognized but ignored. | |
9 | ||
10 | # COLOR keyword is recognized by PLD fileutils.(c)sh script (which is located | |
11 | # in /etc/shrc.d directory and needs one of these arguments: | |
12 | # 'auto', 'tty', 'if-tty' - colorizes output to ttys, but not pipes, | |
13 | # 'always', 'yes', 'force' - adds color characters to all output, | |
14 | # 'never', 'no', 'none' - shuts colorization off. | |
15 | COLOR tty | |
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 | # Below are the color init strings for the basic file types. A color init | |
40 | # string consists of one or more of the following numeric codes: | |
41 | # Attribute codes: | |
42 | # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed | |
43 | # Text color codes: | |
44 | # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white | |
45 | # Background color codes: | |
46 | # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white | |
47 | NORMAL 00 # global default, although everything should be something. | |
48 | FILE 00 # normal file | |
49 | DIR 01;34 # directory | |
50 | LINK 01;36 # symbolic link | |
51 | FIFO 33 # pipe | |
52 | SOCK 01;35 # socket | |
53 | BLK 01;33 # block device driver | |
54 | CHR 01;33 # character device driver | |
55 | ORPHAN 01;05;37;41 # orphaned symlinks | |
56 | MISSING 01;05;37;41 # ... and the files they point to | |
57 | ||
58 | # This is for files with execute permission: | |
59 | EXEC 32 | |
60 | ||
61 | # List any file extensions like '.gz' or '.tar' that you would like ls | |
62 | # to colorize below. Put the extension, a space, and the color init string. | |
63 | # (and any comments you want to add after a '#') | |
64 | ||
65 | # executables (bright green) | |
66 | ||
67 | .sh 01;32 | |
68 | .csh 01;32 | |
69 | .bat 01;32 | |
70 | .btm 01;32 | |
71 | .cmd 01;32 | |
72 | .com 01;32 | |
73 | .exe 01;32 | |
74 | ||
75 | # archives or compressed (bright red) | |
76 | ||
77 | .7z 01;31 | |
78 | .7zip 01;31 | |
79 | .arj 01;31 | |
80 | .bz 01;31 | |
81 | .bz2 01;31 | |
82 | .cpio 01;31 | |
83 | .deb 01;31 | |
84 | .gz 01;31 | |
85 | .img 01;31 | |
86 | .lha 01;31 | |
87 | .lzh 01;31 | |
88 | .lzma 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 | .xz 01;31 | |
98 | .z 01;31 | |
99 | .Z 01;31 | |
100 | .zip 01;31 | |
101 | .zoo 01;31 | |
102 | ||
103 | # image formats (bright magenta) | |
104 | ||
105 | .bmp 01;35 | |
106 | .cdr 01;35 | |
107 | .gif 01;35 | |
108 | .jpeg 01;35 | |
109 | .jpg 01;35 | |
110 | .JPG 01;35 | |
111 | .mng 01;35 | |
112 | .pbm 01;35 | |
113 | .pcx 01;35 | |
114 | .pgm 01;35 | |
115 | .png 01;35 | |
116 | .ppm 01;35 | |
117 | .svg 01;35 | |
118 | .tga 01;35 | |
119 | .tif 01;35 | |
120 | .tiff 01;35 | |
121 | .xbm 01;35 | |
122 | .xcf 01;35 | |
123 | .xpm 01;35 | |
124 | ||
125 | # multimedia files (bright white) | |
126 | ||
127 | .asf 01;37 | |
128 | .asx 01;37 | |
129 | .au 01;37 | |
130 | .avi 01;37 | |
131 | .m1v 01;37 | |
132 | .mid 01;37 | |
133 | .mkv 01;37 | |
134 | .mp3 01;37 | |
135 | .mp4 01;37 | |
136 | .mpg 01;37 | |
137 | .mpe 01;37 | |
138 | .mpeg 01;37 | |
139 | .mod 01;37 | |
140 | .mov 01;37 | |
141 | .ogg 01;37 | |
142 | .qt 01;37 | |
143 | .rm 01;37 | |
144 | .ram 01;37 | |
145 | .s3m 01;37 | |
146 | .vob 01;37 | |
147 | .voc 01;37 | |
148 | .wav 01;37 | |
149 | .wma 01;37 | |
150 | .wmv 01;37 | |
151 | .xm 01;37 | |
152 | ||
153 | # documents (cyan) | |
154 | .abw 36 | |
155 | .bib 36 | |
156 | .doc 36 | |
157 | .dot 36 | |
158 | .dvi 36 | |
159 | .eps 36 | |
160 | .info 36 | |
161 | .kpr 36 | |
162 | .me 36 | |
163 | .ms 36 | |
164 | .ods 36 | |
165 | .odt 36 | |
166 | .ps 36 | |
167 | .pdf 36 | |
168 | .pps 36 | |
169 | .ppt 36 | |
170 | .rtf 36 | |
171 | .stw 36 | |
172 | .sxc 36 | |
173 | .sxw 36 | |
174 | .tex 36 | |
175 | .texi 36 | |
176 | .texinfo 36 | |
177 | .tm 36 | |
178 | .txt 36 | |
179 | .wri 36 | |
180 | .xls 36 | |
181 | .xlw 36 | |
182 | ||
183 | # web (yellow) | |
184 | .cgi 33 | |
185 | .css 33 | |
186 | .htm 33 | |
187 | .html 33 | |
188 | .php 33 | |
189 | .phtml 33 | |
190 | ||
191 | # devel (bright yellow) | |
192 | ||
193 | .ac 01;33 | |
194 | .am 01;33 | |
195 | .c 01;33 | |
196 | .cc 01;33 | |
197 | .cpp 01;33 | |
198 | .diff 01;33 | |
199 | .f 01;33 | |
200 | .h 01;33 | |
201 | .in 01;33 | |
202 | .o 01;33 | |
203 | .patch 01;33 | |
204 | .po 01;33 | |
205 | .pot 01;33 | |
206 | .s 01;33 | |
207 | .spec 01;33 |