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