All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
1 # Configuration file for dircolors, a utility to help you set the
2 # LS_COLORS environment variable used by GNU ls with the --color option.
4 # Copyright (C) 1996-2024 Free Software Foundation, Inc.
5 # Copying and distribution of this file, with or without modification,
6 # are permitted provided the copyright notice and this notice are preserved.
9 # The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the
10 # slackware version of dircolors) are recognized but ignored.
12 # Global config options can be specified before TERM or COLORTERM entries
14 # ===================================================================
16 # ===================================================================
17 # Below are TERM or COLORTERM entries, which can be glob patterns, which
18 # restrict following config to systems with matching environment variables.
43 TERM vt48;2;98;114;164
46 # ===================================================================
47 # Basic file attributes
48 # ===================================================================
49 # Below are the color init strings for the basic file types.
50 # One can use codes for 256 or more colors supported by modern terminals.
51 # The default color codes use the capabilities of an 8 color terminal
52 # with some additional attributes as per the following codes:
54 # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
56 # 38;2;33;34;44=black 38;2;255;85;85=red 38;2;80;250;123=green 38;2;241;250;140=yellow 38;2;189;147;249=blue 38;2;255;121;198=magenta 38;2;139;233;253=cyan 38;2;248;248;242=white
57 # Background color codes:
58 # 48;2;33;34;44=black 48;2;255;85;85=red 48;2;80;250;123=green 48;2;241;250;140=yellow 48;2;189;147;249=blue 48;2;255;121;198=magenta 48;2;139;233;253=cyan 48;2;248;248;242=white
59 #NORMAL 00 # no color code at all
60 #FILE 00 # regular file: use no color at all
61 RESET 0 # reset to "normal" color
62 DIR 01;38;2;189;147;249 # directory
63 LINK 01;38;2;139;233;253 # symbolic link. (If you set this to 'target' instead of a
64 # numerical value, the color is as for the file pointed to.)
65 MULTIHARDLINK 00 # regular file with more than one link
66 FIFO 48;2;33;34;44;38;2;241;250;140 # pipe
67 SOCK 01;38;2;255;121;198 # socket
68 DOOR 01;38;2;255;121;198 # door
69 BLK 48;2;33;34;44;38;2;241;250;140;01 # block device driver
70 CHR 48;2;33;34;44;38;2;241;250;140;01 # character device driver
71 ORPHAN 48;2;33;34;44;38;2;255;85;85;01 # symlink to nonexistent file, or non-stat'able file ...
72 MISSING 00 # ... and the files they point to
73 SETUID 38;2;248;248;242;48;2;255;85;85 # regular file that is setuid (u+s)
74 SETGID 38;2;33;34;44;48;2;241;250;140 # regular file that is setgid (g+s)
75 CAPABILITY 00 # regular file with capability (very expensive to lookup)
76 STICKY_OTHER_WRITABLE 38;2;33;34;44;48;2;80;250;123 # dir that is sticky and other-writable (+t,o+w)
77 OTHER_WRITABLE 38;2;189;147;249;48;2;80;250;123 # dir that is other-writable (o+w) and not sticky
78 STICKY 38;2;248;248;242;48;2;189;147;249 # dir with the sticky bit set (+t) and not other-writable
80 # This is for regular files with execute permission:
81 EXEC 01;38;2;80;250;123
83 # ===================================================================
84 # File extension attributes
85 # ===================================================================
86 # List any file extensions like '.gz' or '.tar' that you would like ls
87 # to color below. Put the suffix, a space, and the color init string.
88 # (and any comments you want to add after a '#').
89 # Suffixes are matched case insensitively, but if you define different
90 # init strings for separate cases, those will be honored.
93 # If you use DOS-style suffixes, you may want to uncomment the following:
94 #.cmd 01;38;2;80;250;123 # executables (bright green)
95 #.exe 01;38;2;80;250;123
96 #.com 01;38;2;80;250;123
97 #.btm 01;38;2;80;250;123
98 #.bat 01;38;2;80;250;123
99 # Or if you want to color scripts even if they do not have the
100 # executable bit actually set.
101 #.sh 01;38;2;80;250;123
102 #.csh 01;38;2;80;250;123
104 # archives or compressed (bright red)
105 .7z 01;38;2;255;85;85
106 .ace 01;38;2;255;85;85
107 .alz 01;38;2;255;85;85
108 .apk 01;38;2;255;85;85
109 .arc 01;38;2;255;85;85
110 .arj 01;38;2;255;85;85
111 .bz 01;38;2;255;85;85
112 .bz2 01;38;2;255;85;85
113 .cab 01;38;2;255;85;85
114 .cpio 01;38;2;255;85;85
115 .crate 01;38;2;255;85;85
116 .deb 01;38;2;255;85;85
117 .drpm 01;38;2;255;85;85
118 .dwm 01;38;2;255;85;85
119 .dz 01;38;2;255;85;85
120 .ear 01;38;2;255;85;85
121 .egg 01;38;2;255;85;85
122 .esd 01;38;2;255;85;85
123 .gz 01;38;2;255;85;85
124 .jar 01;38;2;255;85;85
125 .lha 01;38;2;255;85;85
126 .lrz 01;38;2;255;85;85
127 .lz 01;38;2;255;85;85
128 .lz4 01;38;2;255;85;85
129 .lzh 01;38;2;255;85;85
130 .lzma 01;38;2;255;85;85
131 .lzo 01;38;2;255;85;85
132 .pyz 01;38;2;255;85;85
133 .rar 01;38;2;255;85;85
134 .rpm 01;38;2;255;85;85
135 .rz 01;38;2;255;85;85
136 .sar 01;38;2;255;85;85
137 .swm 01;38;2;255;85;85
138 .t7z 01;38;2;255;85;85
139 .tar 01;38;2;255;85;85
140 .taz 01;38;2;255;85;85
141 .tbz 01;38;2;255;85;85
142 .tbz2 01;38;2;255;85;85
143 .tgz 01;38;2;255;85;85
144 .tlz 01;38;2;255;85;85
145 .txz 01;38;2;255;85;85
146 .tz 01;38;2;255;85;85
147 .tzo 01;38;2;255;85;85
148 .tzst 01;38;2;255;85;85
149 .udeb 01;38;2;255;85;85
150 .war 01;38;2;255;85;85
151 .whl 01;38;2;255;85;85
152 .wim 01;38;2;255;85;85
153 .xz 01;38;2;255;85;85
155 .zip 01;38;2;255;85;85
156 .zoo 01;38;2;255;85;85
157 .zst 01;38;2;255;85;85
160 .avif 01;38;2;255;121;198
161 .jpg 01;38;2;255;121;198
162 .jpeg 01;38;2;255;121;198
163 .mjpg 01;38;2;255;121;198
164 .mjpeg 01;38;2;255;121;198
165 .gif 01;38;2;255;121;198
166 .bmp 01;38;2;255;121;198
167 .pbm 01;38;2;255;121;198
168 .pgm 01;38;2;255;121;198
169 .ppm 01;38;2;255;121;198
170 .tga 01;38;2;255;121;198
171 .xbm 01;38;2;255;121;198
172 .xpm 01;38;2;255;121;198
173 .tif 01;38;2;255;121;198
174 .tiff 01;38;2;255;121;198
175 .png 01;38;2;255;121;198
176 .svg 01;38;2;255;121;198
177 .svgz 01;38;2;255;121;198
178 .mng 01;38;2;255;121;198
179 .pcx 01;38;2;255;121;198
180 .mov 01;38;2;255;121;198
181 .mpg 01;38;2;255;121;198
182 .mpeg 01;38;2;255;121;198
183 .m2v 01;38;2;255;121;198
184 .mkv 01;38;2;255;121;198
185 .webm 01;38;2;255;121;198
186 .webp 01;38;2;255;121;198
187 .ogm 01;38;2;255;121;198
188 .mp4 01;38;2;255;121;198
189 .m4v 01;38;2;255;121;198
190 .mp4v 01;38;2;255;121;198
191 .vob 01;38;2;255;121;198
192 .qt 01;38;2;255;121;198
193 .nuv 01;38;2;255;121;198
194 .wmv 01;38;2;255;121;198
195 .asf 01;38;2;255;121;198
196 .rm 01;38;2;255;121;198
197 .rmvb 01;38;2;255;121;198
198 .flc 01;38;2;255;121;198
199 .avi 01;38;2;255;121;198
200 .fli 01;38;2;255;121;198
201 .flv 01;38;2;255;121;198
202 .gl 01;38;2;255;121;198
203 .dl 01;38;2;255;121;198
204 .xcf 01;38;2;255;121;198
205 .xwd 01;38;2;255;121;198
206 .yuv 01;38;2;255;121;198
207 .cgm 01;38;2;255;121;198
208 .emf 01;38;2;255;121;198
210 # https://wiki.xiph.org/MIME_Types_and_File_Extensions
211 .ogv 01;38;2;255;121;198
212 .ogx 01;38;2;255;121;198
215 .aac 00;38;2;139;233;253
216 .au 00;38;2;139;233;253
217 .flac 00;38;2;139;233;253
218 .m4a 00;38;2;139;233;253
219 .mid 00;38;2;139;233;253
220 .midi 00;38;2;139;233;253
221 .mka 00;38;2;139;233;253
222 .mp3 00;38;2;139;233;253
223 .mpc 00;38;2;139;233;253
224 .ogg 00;38;2;139;233;253
225 .ra 00;38;2;139;233;253
226 .wav 00;38;2;139;233;253
228 # https://wiki.xiph.org/MIME_Types_and_File_Extensions
229 .oga 00;38;2;139;233;253
230 .opus 00;38;2;139;233;253
231 .spx 00;38;2;139;233;253
232 .xspf 00;38;2;139;233;253
235 *~ 00;38;2;98;114;164
236 *# 00;38;2;98;114;164
237 .bak 00;38;2;98;114;164
238 .crdownload 00;38;2;98;114;164
239 .dpkg-dist 00;38;2;98;114;164
240 .dpkg-new 00;38;2;98;114;164
241 .dpkg-old 00;38;2;98;114;164
242 .dpkg-tmp 00;38;2;98;114;164
243 .old 00;38;2;98;114;164
244 .orig 00;38;2;98;114;164
245 .part 00;38;2;98;114;164
246 .rej 00;38;2;98;114;164
247 .rpmnew 00;38;2;98;114;164
248 .rpmorig 00;38;2;98;114;164
249 .rpmsave 00;38;2;98;114;164
250 .swp 00;38;2;98;114;164
251 .tmp 00;38;2;98;114;164
252 .ucf-dist 00;38;2;98;114;164
253 .ucf-new 00;38;2;98;114;164
254 .ucf-old 00;38;2;98;114;164
257 # Subsequent TERM or COLORTERM entries, can be used to add / override
258 # config specific to those matching environment variables.