]> git.pld-linux.org Git - packages/coreutils.git/blob - DIR_COLORS
- typo
[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 .cmd 01;32
71 .exe 01;32
72 .com 01;32
73 .btm 01;32
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 .jpeg 01;35
102 .gif 01;35
103 .bmp 01;35
104 .pcx 01;35
105 .xbm 01;35
106 .xpm 01;35
107 .pbm 01;35
108 .pgm 01;35
109 .ppm 01;35
110 .png 01;35
111 .mng 01;35
112 .tif 01;35
113 .tga 01;35
114
115 # multimedia files (bright white)
116
117 .mp3 01;37
118 .mpg 01;37
119 .mpe 01;37
120 .mpeg 01;37
121 .m1v 01;37
122 .avi 01;37
123 .asf 01;37
124 .asx 01;37
125 .mov 01;37
126 .qt 01;37
127 .rm 01;37
128 .ogg 01;37
129 .wav 01;37
130 .wmv 01;37
131 .wma 01;37
132
133 # documents (blue)
134
135 .css 36
136 .doc 36
137 .htm 36
138 .html 36
139 .kpr 36
140 .ps 36
141 .pdf 36
142 .rtf 36
143 .sxc 36
144 .sxw 36
145 .txt 36
146 .xls 36
147
148 # devel (yellow)
149
150 .ac 01;33
151 .am 01;33
152 .c 01;33
153 .cc 01;33
154 .cpp 01;33
155 .h 01;33
156 .in 01;33
157 .o 01;33
158 .patch 01;33
159 .po 01;33
160 .pot 01;33
161 .spec 01;33
This page took 0.043417 seconds and 4 git commands to generate.