]> git.pld-linux.org Git - packages/coreutils.git/blame - DIR_COLORS
- release 2
[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
0ff471c7
TP
52DIR 01;36 # directory
53LINK 35 # symbolic link
54FIFO 34 # pipe
55SOCK 01;34 # socket
56BLK 32 # block device driver
57CHR 36 # character device driver
58ORPHAN 33 # orphaned symlinks
59MISSING 01;31 # ... 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
TP
67
68# 01;30 is still free
69
70.sh 01;32 # executables (bright green)
71.csh 01;32
72.bat 01;32
2a8d6a0c 73.com 01;32
0ff471c7
TP
74.exe 01;32
75.cmd 01;32
2a8d6a0c 76.btm 01;32
dd94da05 77
0ff471c7
TP
78.tar 01;35 # archives or compressed (bright magenta)
79.tgz 01;35
80.gz 01;35
81.bz2 01;35
82.bz 01;35
83.taz 01;35
84.tz 01;35
85.z 01;35
86.Z 01;35
87.rpm 01;35
88.cpio 01;35
89.deb 01;35
90.zip 01;35
91.rar 01;35
92.arj 01;35
93.lzh 01;35
94.lha 01;35
95
96.jpg 31 # image formats (red)
97.png 31
98.mng 31
99.xbm 31
100.xpm 31
101.ppm 31
102.pbm 31
103.pgm 31
104.tif 31
105.gif 31
106.bmp 31
107.tga 31
108
109.ogg 01;31 # multimedia files (bright red)
110.mp3 01;31
111.mpg 01;31
112.mpe 01;31
113.mpeg 01;31
114.m1v 01;31
115.avi 01;31
116.asf 01;31
117.wmv 01;31
118.wma 01;31
119.asx 01;31
120.mov 01;31
121.qt 01;31
122.rm 01;31
123.wav 01;31
dd94da05 124
0ff471c7
TP
125.ps 01;37 # documents (white)
126.pdf 01;37
127.txt 01;37
128.doc 01;37
129.htm 01;37
130.html 01;37
dd94da05 131
0ff471c7
TP
132.c 01;33 # devel (yellow)
133.h 01;33
134.o 01;33
135.cc 01;33
136.cpp 01;33
137.spec 01;33
138.patch 01;33
This page took 0.039497 seconds and 4 git commands to generate.