]> git.pld-linux.org Git - packages/coreutils.git/blame - DIR_COLORS
- back to good old colors
[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
2a8d6a0c 31TERM xterm
761e070b 32TERM rxvt
33TERM xterm-color
34TERM color-xterm
2a8d6a0c 35TERM vt100
761e070b 36TERM dtterm
37TERM color_xterm
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:
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
50NORMAL 00 # global default, although everything should be something.
51FILE 00 # normal file
b5a4eff7
JR
52DIR 01;34 # directory
53LINK 01;36 # symbolic link
54FIFO 40;33 # pipe
55SOCK 01;35 # socket
56BLK 40;33;01 # block device driver
57CHR 40;33;01 # character device driver
58ORPHAN 01;05;37;41 # orphaned syminks
59MISSING 01;05;37;41 # ... and the files they point to
2a8d6a0c
AF
60
61# This is for files with execute permission:
62EXEC 01;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 '#')
0ff471c7 67
b5a4eff7 68# executables (bright green)
0ff471c7 69
0ff471c7 70.cmd 01;32
b5a4eff7
JR
71.exe 01;32
72.com 01;32
2a8d6a0c 73.btm 01;32
b5a4eff7
JR
74.bat 01;32
75.sh 01;32
76.csh 01;32
77
78# archives or compressed (bright red)
79
80.tar 01;31
81.tgz 01;31
82.arj 01;31
83.taz 01;31
84.lzh 01;31
85.lha 01;31
86.zip 01;31
87.z 01;31
88.Z 01;31
89.gz 01;31
90.bz2 01;31
91.bz 01;31
92.tz 01;31
93.rpm 01;31
94.cpio 01;31
95.deb 01;31
96.rar 01;31
97
98# image formats (bright magenta)
99
100.jpg 01;35
101.gif 01;35
102.bmp 01;35
103.xbm 01;35
104.xpm 01;35
105.pbm 01;35
106.pgm 01;35
107.ppm 01;35
108.png 01;35
109.mng 01;35
110.tif 01;35
111.tga 01;35
112
113# multimedia files (bright white)
114
115.mp3 01;37
116.mpg 01;37
117.mpe 01;37
118.mpeg 01;37
119.m1v 01;37
120.avi 01;37
121.asf 01;37
122.asx 01;37
123.mov 01;37
124.qt 01;37
125.rm 01;37
126.ogg 01;37
127.wav 01;37
128.wmv 01;37
129.wma 01;37
130
131# documents (blue)
132
133.ps 36
134.pdf 36
135.txt 36
136.doc 36
137.htm 36
138.html 36
139
140# devel (yellow)
dd94da05 141
b5a4eff7 142.c 01;33
0ff471c7
TP
143.h 01;33
144.o 01;33
145.cc 01;33
146.cpp 01;33
147.spec 01;33
148.patch 01;33
This page took 0.046211 seconds and 4 git commands to generate.