]>
Commit | Line | Data |
---|---|---|
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. | |
9 | COLOR 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. | |
15 | OPTIONS -F -T 0 | |
16 | ||
2a8d6a0c AF |
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 | |
761e070b | 30 | TERM cons25 |
2a8d6a0c | 31 | TERM xterm |
761e070b | 32 | TERM rxvt |
33 | TERM xterm-color | |
34 | TERM color-xterm | |
2a8d6a0c | 35 | TERM vt100 |
761e070b | 36 | TERM dtterm |
37 | TERM color_xterm | |
2a8d6a0c AF |
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 | |
0ff471c7 TP |
52 | DIR 01;36 # directory |
53 | LINK 35 # symbolic link | |
54 | FIFO 34 # pipe | |
55 | SOCK 01;34 # socket | |
56 | BLK 32 # block device driver | |
57 | CHR 36 # character device driver | |
58 | ORPHAN 33 # orphaned symlinks | |
59 | MISSING 01;31 # ... and the files they point to | |
2a8d6a0c AF |
60 | |
61 | # This is for files with execute permission: | |
62 | EXEC 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 |