Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
192 - 1
# Configuration file for the 256color ls utility
2
 
3
# This file goes in the /etc directory, and must be world readable.
4
# You can copy this file to .dir_colors in your $HOME directory to override
5
# the system defaults.
6
 
7
# Configuration file for dircolors, a utility to help you set the
8
# LS_COLORS environment variable used by GNU ls with the --color option.
9
 
10
# Copyright (C) 1996-2018 Free Software Foundation, Inc.
11
# Copying and distribution of this file, with or without modification,
12
# are permitted provided the copyright notice and this notice are preserved.
13
 
14
# The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the
15
# slackware version of dircolors) are recognized but ignored.
16
 
17
# For compatibility, the pattern "^COLOR.*none" is recognized as a way to
18
# disable colorization.  See https://bugzilla.redhat.com/1349579 for details.
19
 
20
# Below are TERM entries, which can be a glob patterns, to match
21
# against the TERM environment variable to determine if it is colorizable.
22
TERM *256color*
23
TERM rxvt-unicode256
24
 
25
# Below are the color init strings for the basic file types. A color init
26
# string consists of one or more of the following numeric codes:
27
# Attribute codes:
28
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
29
# Text color codes:
30
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
31
# Background color codes:
32
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
33
# Text color(256 colors mode) codes:
34
# Valid syntax for text 256color is 38;5;<color number> , where color number
35
# is number between 0 and 255.
36
# You may find following command useful to search the best one for you:
37
# for ((x=0; x<=255; x++));do echo -e "${x}:\033[38;5;${x}mcolor\033[000m";done
38
# Background color(256 colors mode) codes:
39
# Valid syntax for background 256color is 48;5;<color number> , where
40
# color number is number between 0 and 255.
41
# You may find following command useful to search the best one for you:
42
# for ((x=0; x<=255; x++));do echo -e "${x}:\033[48;5;${x}mcolor\033[000m";done
43
 
44
#NORMAL 00	# no color code at all
45
#FILE 00	# regular file: use no color at all
46
RESET 0		# reset to "normal" color
47
DIR 38;5;33	# directory
48
LINK 38;5;51	# symbolic link.  (If you set this to 'target' instead of a
49
                # numerical value, the color is as for the file pointed to.)
50
MULTIHARDLINK 00	# regular file with more than one link
51
FIFO 40;38;5;11	# pipe
52
SOCK 38;5;13	# socket
53
DOOR 38;5;5	# door
54
BLK 48;5;232;38;5;11	# block device driver
55
CHR 48;5;232;38;5;3	# character device driver
56
ORPHAN 48;5;232;38;5;9  # symlink to nonexistent file, or non-stat'able file ...
57
MISSING 01;05;37;41 # ... and the files they point to
58
SETUID 48;5;196;38;5;15	# file that is setuid (u+s)
59
SETGID 48;5;11;38;5;16	# file that is setgid (g+s)
60
CAPABILITY 48;5;196;38;5;226	# file with capability
61
STICKY_OTHER_WRITABLE 48;5;10;38;5;16 # dir that is sticky and other-writable (+t,o+w)
62
OTHER_WRITABLE 48;5;10;38;5;21 # dir that is other-writable (o+w) and not sticky
63
STICKY 48;5;21;38;5;15	# dir with the sticky bit set (+t) and not other-writable
64
 
65
# This is for files with execute permission:
66
EXEC 38;5;40
67
 
68
# List any file extensions like '.gz' or '.tar' that you would like ls
69
# to colorize below. Put the extension, a space, and the color init string.
70
# (and any comments you want to add after a '#')
71
 
72
# If you use DOS-style suffixes, you may want to uncomment the following:
73
#.cmd 01;32 # executables (bright green)
74
#.exe 01;32
75
#.com 01;32
76
#.btm 01;32
77
#.bat 01;32
78
# Or if you want to colorize scripts even if they do not have the
79
# executable bit actually set.
80
#.sh  01;32
81
#.csh 01;32
82
 
83
 # archives or compressed (bright red)
84
.tar 38;5;9
85
.tgz 38;5;9
86
.arc 38;5;9
87
.arj 38;5;9
88
.taz 38;5;9
89
.lha 38;5;9
90
.lz4 38;5;9
91
.lzh 38;5;9
92
.lzma 38;5;9
93
.tlz 38;5;9
94
.txz 38;5;9
95
.tzo 38;5;9
96
.t7z 38;5;9
97
.zip 38;5;9
98
.z   38;5;9
99
.dz  38;5;9
100
.gz  38;5;9
101
.lrz 38;5;9
102
.lz  38;5;9
103
.lzo 38;5;9
104
.xz  38;5;9
105
.zst 38;5;9
106
.tzst 38;5;9
107
.bz2 38;5;9
108
.bz  38;5;9
109
.tbz 38;5;9
110
.tbz2 38;5;9
111
.tz  38;5;9
112
.deb 38;5;9
113
.rpm 38;5;9
114
.jar 38;5;9
115
.war 38;5;9
116
.ear 38;5;9
117
.sar 38;5;9
118
.rar 38;5;9
119
.alz 38;5;9
120
.ace 38;5;9
121
.zoo 38;5;9
122
.cpio 38;5;9
123
.7z  38;5;9
124
.rz  38;5;9
125
.cab 38;5;9
126
.wim 38;5;9
127
.swm 38;5;9
128
.dwm 38;5;9
129
.esd 38;5;9
130
 
131
# image formats
132
.jpg 38;5;13
133
.jpeg 38;5;13
134
.mjpg 38;5;13
135
.mjpeg 38;5;13
136
.gif 38;5;13
137
.bmp 38;5;13
138
.pbm 38;5;13
139
.pgm 38;5;13
140
.ppm 38;5;13
141
.tga 38;5;13
142
.xbm 38;5;13
143
.xpm 38;5;13
144
.tif 38;5;13
145
.tiff 38;5;13
146
.png 38;5;13
147
.svg 38;5;13
148
.svgz 38;5;13
149
.mng 38;5;13
150
.pcx 38;5;13
151
.mov 38;5;13
152
.mpg 38;5;13
153
.mpeg 38;5;13
154
.m2v 38;5;13
155
.mkv 38;5;13
156
.webm 38;5;13
157
.ogm 38;5;13
158
.mp4 38;5;13
159
.m4v 38;5;13
160
.mp4v 38;5;13
161
.vob 38;5;13
162
.qt  38;5;13
163
.nuv 38;5;13
164
.wmv 38;5;13
165
.asf 38;5;13
166
.rm  38;5;13
167
.rmvb 38;5;13
168
.flc 38;5;13
169
.avi 38;5;13
170
.fli 38;5;13
171
.flv 38;5;13
172
.gl 38;5;13
173
.dl 38;5;13
174
.xcf 38;5;13
175
.xwd 38;5;13
176
.yuv 38;5;13
177
.cgm 38;5;13
178
.emf 38;5;13
179
 
180
# https://wiki.xiph.org/MIME_Types_and_File_Extensions
181
.ogv 38;5;13
182
.ogx 38;5;13
183
 
184
# audio formats
185
.aac 38;5;45
186
.au 38;5;45
187
.flac 38;5;45
188
.m4a 38;5;45
189
.mid 38;5;45
190
.midi 38;5;45
191
.mka 38;5;45
192
.mp3 38;5;45
193
.mpc 38;5;45
194
.ogg 38;5;45
195
.ra 38;5;45
196
.wav 38;5;45
197
 
198
# https://wiki.xiph.org/MIME_Types_and_File_Extensions
199
.oga 38;5;45
200
.opus 38;5;45
201
.spx 38;5;45
202
.xspf 38;5;45