]>
Commit | Line | Data |
---|---|---|
2a8d6a0c | 1 | # Configuration file for the color ls utility |
0a2096b4 | 2 | # This file goes in the /etc directory and must be world readable. |
2a8d6a0c AF |
3 | # You can copy this file to .dir_colors in your $HOME directory to override |
4 | # the system defaults. | |
5 | ||
0a2096b4 | 6 | # NOTE: |
c3e891c1 | 7 | # The keywords COLOR, OPTIONS and EIGHTBIT (honored by the slackware version |
0a2096b4 | 8 | # of dircolors) are recognized but ignored. |
2a8d6a0c | 9 | |
0a2096b4 | 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, | |
c3e891c1 | 14 | # 'never', 'no', 'none' - shuts colorization off. |
0a2096b4 | 15 | COLOR tty |
761e070b | 16 | |
2a8d6a0c AF |
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 | |
761e070b | 30 | TERM cons25 |
761e070b | 31 | TERM rxvt |
df01f048 | 32 | TERM xterm |
761e070b | 33 | TERM xterm-color |
34 | TERM color-xterm | |
df01f048 | 35 | TERM color_xterm |
2a8d6a0c | 36 | TERM vt100 |
761e070b | 37 | TERM dtterm |
2a8d6a0c | 38 | |
2a8d6a0c AF |
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: | |
da4d0c5c | 41 | # Attribute codes: |
2a8d6a0c AF |
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. | |
da4d0c5c TP |
48 | FILE 00 # normal file |
49 | DIR 01;34 # directory | |
50 | LINK 01;36 # symbolic link | |
51 | FIFO 33 # pipe | |
b5a4eff7 | 52 | SOCK 01;35 # socket |
da4d0c5c TP |
53 | BLK 01;33 # block device driver |
54 | CHR 01;33 # character device driver | |
df01f048 | 55 | ORPHAN 01;05;37;41 # orphaned symlinks |
b5a4eff7 | 56 | MISSING 01;05;37;41 # ... and the files they point to |
2a8d6a0c AF |
57 | |
58 | # This is for files with execute permission: | |
df01f048 | 59 | EXEC 32 |
2a8d6a0c AF |
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 '#') | |
0ff471c7 | 64 | |
b5a4eff7 | 65 | # executables (bright green) |
0ff471c7 | 66 | |
e6dfe972 | 67 | .sh 01;32 |
e0400f09 TP |
68 | .csh 01;32 |
69 | .bat 01;32 | |
70 | .btm 01;32 | |
0ff471c7 | 71 | .cmd 01;32 |
b5a4eff7 | 72 | .com 01;32 |
e0400f09 | 73 | .exe 01;32 |
b5a4eff7 JR |
74 | |
75 | # archives or compressed (bright red) | |
76 | ||
eaf95ad6 PG |
77 | .7z 01;31 |
78 | .7zip 01;31 | |
e6dfe972 PG |
79 | .arj 01;31 |
80 | .bz 01;31 | |
81 | .bz2 01;31 | |
b5a4eff7 | 82 | .cpio 01;31 |
e6dfe972 PG |
83 | .deb 01;31 |
84 | .gz 01;31 | |
85 | .img 01;31 | |
86 | .lha 01;31 | |
87 | .lzh 01;31 | |
d1c6b854 | 88 | .lzma 01;31 |
e6dfe972 PG |
89 | .rar 01;31 |
90 | .rpm 01;31 | |
91 | .tar 01;31 | |
92 | .taz 01;31 | |
93 | .tgz 01;31 | |
94 | .tpz 01;31 | |
e0400f09 | 95 | .trpm 01;31 |
e6dfe972 | 96 | .tz 01;31 |
a3f2148e | 97 | .xz 01;31 |
e6dfe972 PG |
98 | .z 01;31 |
99 | .Z 01;31 | |
100 | .zip 01;31 | |
101 | .zoo 01;31 | |
b5a4eff7 JR |
102 | |
103 | # image formats (bright magenta) | |
104 | ||
e6dfe972 PG |
105 | .bmp 01;35 |
106 | .cdr 01;35 | |
107 | .gif 01;35 | |
484bb068 | 108 | .jpeg 01;35 |
e6dfe972 | 109 | .jpg 01;35 |
5fad6d64 | 110 | .JPG 01;35 |
e6dfe972 PG |
111 | .mng 01;35 |
112 | .pbm 01;35 | |
113 | .pcx 01;35 | |
114 | .pgm 01;35 | |
115 | .png 01;35 | |
116 | .ppm 01;35 | |
12303d42 | 117 | .svg 01;35 |
e6dfe972 PG |
118 | .tga 01;35 |
119 | .tif 01;35 | |
e0400f09 | 120 | .tiff 01;35 |
e6dfe972 PG |
121 | .xbm 01;35 |
122 | .xcf 01;35 | |
123 | .xpm 01;35 | |
b5a4eff7 JR |
124 | |
125 | # multimedia files (bright white) | |
126 | ||
e6dfe972 PG |
127 | .asf 01;37 |
128 | .asx 01;37 | |
129 | .au 01;37 | |
130 | .avi 01;37 | |
131 | .m1v 01;37 | |
132 | .mid 01;37 | |
4ca4acba | 133 | .mkv 01;37 |
e6dfe972 PG |
134 | .mp3 01;37 |
135 | .mp4 01;37 | |
136 | .mpg 01;37 | |
137 | .mpe 01;37 | |
b5a4eff7 | 138 | .mpeg 01;37 |
e6dfe972 PG |
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 | |
b5a4eff7 | 152 | |
7c0521d2 PG |
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 | |
3f3595dc | 164 | .ods 36 |
55a02ba5 | 165 | .odt 36 |
7c0521d2 PG |
166 | .ps 36 |
167 | .pdf 36 | |
168 | .pps 36 | |
169 | .ppt 36 | |
170 | .rtf 36 | |
12303d42 | 171 | .stw 36 |
7c0521d2 PG |
172 | .sxc 36 |
173 | .sxw 36 | |
174 | .tex 36 | |
175 | .texi 36 | |
e0400f09 | 176 | .texinfo 36 |
7c0521d2 PG |
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) | |
dd94da05 | 192 | |
e6dfe972 PG |
193 | .ac 01;33 |
194 | .am 01;33 | |
195 | .c 01;33 | |
196 | .cc 01;33 | |
197 | .cpp 01;33 | |
502bf426 | 198 | .diff 01;33 |
e6dfe972 PG |
199 | .f 01;33 |
200 | .h 01;33 | |
201 | .in 01;33 | |
202 | .o 01;33 | |
0ff471c7 | 203 | .patch 01;33 |
e6dfe972 PG |
204 | .po 01;33 |
205 | .pot 01;33 | |
206 | .s 01;33 | |
345e85a9 | 207 | .spec 01;33 |