]> git.pld-linux.org Git - packages/coreutils.git/blame - DIR_COLORS
- workaround for kernel bugs
[packages/coreutils.git] / DIR_COLORS
CommitLineData
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 15COLOR tty
761e070b 16
2a8d6a0c
AF
17# Below, there should be one TERM entry for each termtype that is colorizable
18TERM linux
19TERM console
20TERM con132x25
21TERM con132x30
22TERM con132x43
23TERM con132x60
24TERM con80x25
25TERM con80x28
26TERM con80x30
27TERM con80x43
28TERM con80x50
29TERM con80x60
761e070b 30TERM cons25
761e070b 31TERM rxvt
df01f048 32TERM xterm
761e070b 33TERM xterm-color
34TERM color-xterm
df01f048 35TERM color_xterm
2a8d6a0c 36TERM vt100
761e070b 37TERM 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
47NORMAL 00 # global default, although everything should be something.
da4d0c5c
TP
48FILE 00 # normal file
49DIR 01;34 # directory
50LINK 01;36 # symbolic link
51FIFO 33 # pipe
b5a4eff7 52SOCK 01;35 # socket
da4d0c5c
TP
53BLK 01;33 # block device driver
54CHR 01;33 # character device driver
df01f048 55ORPHAN 01;05;37;41 # orphaned symlinks
b5a4eff7 56MISSING 01;05;37;41 # ... and the files they point to
2a8d6a0c
AF
57
58# This is for files with execute permission:
df01f048 59EXEC 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
88.rar 01;31
89.rpm 01;31
90.tar 01;31
91.taz 01;31
92.tgz 01;31
93.tpz 01;31
e0400f09 94.trpm 01;31
e6dfe972
PG
95.tz 01;31
96.z 01;31
97.Z 01;31
98.zip 01;31
99.zoo 01;31
b5a4eff7
JR
100
101# image formats (bright magenta)
102
e6dfe972
PG
103.bmp 01;35
104.cdr 01;35
105.gif 01;35
484bb068 106.jpeg 01;35
e6dfe972 107.jpg 01;35
5fad6d64 108.JPG 01;35
e6dfe972
PG
109.mng 01;35
110.pbm 01;35
111.pcx 01;35
112.pgm 01;35
113.png 01;35
114.ppm 01;35
115.tga 01;35
116.tif 01;35
e0400f09 117.tiff 01;35
e6dfe972
PG
118.xbm 01;35
119.xcf 01;35
120.xpm 01;35
b5a4eff7
JR
121
122# multimedia files (bright white)
123
e6dfe972
PG
124.asf 01;37
125.asx 01;37
126.au 01;37
127.avi 01;37
128.m1v 01;37
129.mid 01;37
4ca4acba 130.mkv 01;37
e6dfe972
PG
131.mp3 01;37
132.mp4 01;37
133.mpg 01;37
134.mpe 01;37
b5a4eff7 135.mpeg 01;37
e6dfe972
PG
136.mod 01;37
137.mov 01;37
138.ogg 01;37
139.qt 01;37
140.rm 01;37
141.ram 01;37
142.s3m 01;37
143.vob 01;37
144.voc 01;37
145.wav 01;37
146.wma 01;37
147.wmv 01;37
148.xm 01;37
b5a4eff7 149
7c0521d2
PG
150# documents (cyan)
151.abw 36
152.bib 36
153.doc 36
154.dot 36
155.dvi 36
156.eps 36
157.info 36
158.kpr 36
159.me 36
160.ms 36
3f3595dc 161.ods 36
7c0521d2
PG
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
e0400f09 171.texinfo 36
7c0521d2
PG
172.tm 36
173.txt 36
174.wri 36
175.xls 36
176.xlw 36
177
178# web (yellow)
179.cgi 33
180.css 33
181.htm 33
182.html 33
183.php 33
184.phtml 33
185
186# devel (bright yellow)
dd94da05 187
e6dfe972
PG
188.ac 01;33
189.am 01;33
190.c 01;33
191.cc 01;33
192.cpp 01;33
502bf426 193.diff 01;33
e6dfe972
PG
194.f 01;33
195.h 01;33
196.in 01;33
197.o 01;33
0ff471c7 198.patch 01;33
e6dfe972
PG
199.po 01;33
200.pot 01;33
201.s 01;33
345e85a9 202.spec 01;33
This page took 0.05311 seconds and 4 git commands to generate.