-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdir_colors
148 lines (131 loc) · 2.52 KB
/
dir_colors
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
TERM ansi
TERM con80x25
TERM con80x28
TERM con80x30
TERM con80x43
TERM con80x50
TERM con80x60
TERM con132x25
TERM con132x30
TERM con132x43
TERM con132x60
TERM console
TERM dtterm
TERM Eterm
TERM linux
TERM linux-c
TERM mach-color
TERM rxvt
TERM rxvt-unicode
TERM screen
TERM screen-w
TERM urxvt
TERM vt100
TERM vt220
TERM xterm
TERM xterm-color
TERM xterm-debian
# Below are the color init strings for the basic file types. A color init
# string consists of one or more of the following numeric codes:
# Attribute codes:
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
# Text color codes:
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
# Background color codes:
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
NORMAL 00 # global default, although everything should be something.
FILE 00 # normal file
DIR 00;32 # directory
LINK 01;36 # symbolic link. (If you set this to 'target' instead of a numerical value, the color is as for the file pointed to.)
FIFO 40;33 # pipe
SOCK 01;35 # socket
DOOR 01;35 # door
BLK 40;33;01 # block device driver
CHR 40;33;01 # character device driver
ORPHAN 05;31 # symlink to nonexistent file
MISSING 05;31
# This is for files with execute permission:
EXEC 01;33
# List any file extensions like '.gz' or '.tar' that you would like ls
# to colorize below. Put the extension, a space, and the color init string.
# (and any comments you want to add after a '#')
# archives or compressed formats
.tar 00;31
.tgz 00;31
.arj 00;31
.taz 00;31
.lzh 00;31
.zip 00;31
.z 00;31
.Z 00;31
.gz 00;31
.bz2 00;31
.bz 00;31
.deb 00;31
.tz 00;31
.rpm 00;31
.cpio 01;31
.jar 00;31
# image formats
.jpg 01;34
.jpeg 01;34
.JPG 01;34
.gif 01;34
.GIF 01;34
.bmp 01;34
.BMP 01;34
.pbm 01;34
.pgm 01;34
.tga 01;34
.tiff 01;34
.eps 01;34
.fig 01;34
.xbm 01;34
.ppm 01;34
.xpm 01;34
.tif 01;34
.png 01;34
# movie formats
.mov 01;34
.mpg 01;34
.mpeg 01;34
.wmv 01;34
.avi 01;34
.fli 01;34
.gl 01;34
.dl 01;34
.xcf 01;34
.xwd 01;34
# audio formats
.ogg 01;34
.mp3 01;34
.wav 01;34
.wma 01;34
.flac 01;34
.asf 01;34
.ram 01;34
# Source Code
.c 00;35
.php 00;35
.cpp 00;35
.h 00;36
.pl 00;35
.pm 00;35
.cgi 00;35
.java 00;35
.html 00;35
# Stuff that should not exist
*~ 05;31 # stuff we hate to find laying around (flashing red)
.mtxt 05;31 # crap
.ndx 05;31
# Text Files and Office Docs
.tex 00;33
.text 00;33
.doc 00;33
.odg 00;33
.odp 00;33
.ods 00;33
.odt 00;33
.pdf 00;33
.ps 00;33
.dvi 00;33