]> git.pld-linux.org Git - packages/coreutils.git/blob - DIR_COLORS
- added diff
[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 .tar 01;31
81 .tgz 01;31
82 .gz  01;31
83 .bz2 01;31
84 .bz  01;31
85 .z   01;31
86 .Z   01;31
87 .tz  01;31
88 .taz 01;31
89 .tpz 01;31
90 .cpio 01;31
91 .trpm 01;31
92 .rpm 01;31
93 .deb 01;31
94 .arj 01;31
95 .lha 01;31
96 .lzh 01;31
97 .rar 01;31
98 .zip 01;31
99 .zoo 01;31
100
101 # image formats (bright magenta)
102
103 .bmp 01;35
104 .cdr 01;35
105 .gif 01;35
106 .jpeg 01;35
107 .jpg 01;35
108 .mng 01;35
109 .pbm 01;35
110 .pcx 01;35
111 .pgm 01;35
112 .png 01;35
113 .ppm 01;35
114 .tga 01;35
115 .tif 01;35
116 .tiff 01;35
117 .xbm 01;35
118 .xcf 01;35
119 .xpm 01;35
120
121 # multimedia files (bright white)
122
123 .asf 01;37
124 .asx 01;37
125 .au 01;37
126 .avi 01;37
127 .m1v 01;37
128 .mid 01;37
129 .mp3 01;37
130 .mp4 01;37
131 .mpg 01;37
132 .mpe 01;37
133 .mpeg 01;37
134 .mod 01;37
135 .mov 01;37
136 .ogg 01;37
137 .qt 01;37
138 .rm 01;37
139 .ram 01;37
140 .s3m 01;37
141 .vob 01;37
142 .voc 01;37
143 .wav 01;37
144 .wma 01;37
145 .wmv 01;37
146 .xm 01;37
147
148 # documents (blue)
149
150 .abw 36
151 .css 36
152 .doc 36
153 .dot 36
154 .dvi 36
155 .eps 36
156 .htm 36
157 .html 36
158 .info 36
159 .kpr 36
160 .me 36
161 .ms 36
162 .ps 36
163 .pdf 36
164 .pps 36
165 .ppt 36
166 .rtf 36
167 .sxc 36
168 .sxw 36
169 .tex 36
170 .texi 36
171 .texinfo 36
172 .txt 36
173 .wri 36
174 .xls 36
175 .xlw 36
176
177 # devel (yellow)
178
179 .ac 01;33
180 .am 01;33
181 .c 01;33
182 .cc 01;33
183 .cpp 01;33
184 .diff 01;33
185 .f 01;33
186 .h 01;33
187 .in 01;33
188 .o 01;33
189 .patch 01;33
190 .po 01;33
191 .pot 01;33
192 .s 01;33
193 .spec 01;33
This page took 0.109042 seconds and 4 git commands to generate.