]> git.pld-linux.org Git - packages/coreutils.git/blame - DIR_COLORS
- 755 for /etc/shrc.d
[packages/coreutils.git] / DIR_COLORS
CommitLineData
2a8d6a0c
AF
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.
9COLOR tty
10
761e070b 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.
15OPTIONS -F -T 0
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
AF
38
39# EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output)
40EIGHTBIT 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:
da4d0c5c 44# Attribute codes:
2a8d6a0c
AF
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
50NORMAL 00 # global default, although everything should be something.
da4d0c5c
TP
51FILE 00 # normal file
52DIR 01;34 # directory
53LINK 01;36 # symbolic link
54FIFO 33 # pipe
b5a4eff7 55SOCK 01;35 # socket
da4d0c5c
TP
56BLK 01;33 # block device driver
57CHR 01;33 # character device driver
df01f048 58ORPHAN 01;05;37;41 # orphaned symlinks
b5a4eff7 59MISSING 01;05;37;41 # ... and the files they point to
2a8d6a0c
AF
60
61# This is for files with execute permission:
df01f048 62EXEC 32
2a8d6a0c
AF
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 '#')
0ff471c7 67
b5a4eff7 68# executables (bright green)
0ff471c7 69
e6dfe972 70.sh 01;32
e0400f09
TP
71.csh 01;32
72.bat 01;32
73.btm 01;32
0ff471c7 74.cmd 01;32
b5a4eff7 75.com 01;32
e0400f09 76.exe 01;32
b5a4eff7
JR
77
78# archives or compressed (bright red)
79
e6dfe972
PG
80.arj 01;31
81.bz 01;31
82.bz2 01;31
b5a4eff7 83.cpio 01;31
e6dfe972
PG
84.deb 01;31
85.gz 01;31
86.img 01;31
87.lha 01;31
88.lzh 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
e0400f09 95.trpm 01;31
e6dfe972
PG
96.tz 01;31
97.z 01;31
98.Z 01;31
99.zip 01;31
100.zoo 01;31
b5a4eff7
JR
101
102# image formats (bright magenta)
103
e6dfe972
PG
104.bmp 01;35
105.cdr 01;35
106.gif 01;35
484bb068 107.jpeg 01;35
e6dfe972
PG
108.jpg 01;35
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
130.mp3 01;37
131.mp4 01;37
132.mpg 01;37
133.mpe 01;37
b5a4eff7 134.mpeg 01;37
e6dfe972
PG
135.mod 01;37
136.mov 01;37
137.ogg 01;37
138.qt 01;37
139.rm 01;37
140.ram 01;37
141.s3m 01;37
142.vob 01;37
143.voc 01;37
144.wav 01;37
145.wma 01;37
146.wmv 01;37
147.xm 01;37
b5a4eff7
JR
148
149# documents (blue)
150
e6dfe972
PG
151.abw 36
152.css 36
153.doc 36
154.dot 36
155.dvi 36
156.eps 36
157.htm 36
b5a4eff7 158.html 36
e0400f09 159.info 36
e6dfe972
PG
160.kpr 36
161.me 36
162.ms 36
163.ps 36
164.pdf 36
165.pps 36
166.ppt 36
167.rtf 36
168.sxc 36
169.sxw 36
170.tex 36
e0400f09
TP
171.texi 36
172.texinfo 36
e6dfe972
PG
173.txt 36
174.wri 36
175.xls 36
176.xlw 36
b5a4eff7
JR
177
178# devel (yellow)
dd94da05 179
e6dfe972
PG
180.ac 01;33
181.am 01;33
182.c 01;33
183.cc 01;33
184.cpp 01;33
502bf426 185.diff 01;33
e6dfe972
PG
186.f 01;33
187.h 01;33
188.in 01;33
189.o 01;33
0ff471c7 190.patch 01;33
e6dfe972
PG
191.po 01;33
192.pot 01;33
193.s 01;33
345e85a9 194.spec 01;33
This page took 0.094941 seconds and 4 git commands to generate.