doc: remove older ChangeLog items
[coreutils.git] / src / dircolors.hin
blob58297e8bb2f5e9808c296206d4204566cefa3439
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 # ===================================================================
15 # Terminal filters
16 # ===================================================================
17 # Below are TERM or COLORTERM entries, which can be glob patterns, which
18 # restrict following config to systems with matching environment variables.
19 COLORTERM ?*
20 TERM Eterm
21 TERM ansi
22 TERM *color*
23 TERM con[0-9]*x[0-9]*
24 TERM cons25
25 TERM console
26 TERM cygwin
27 TERM *direct*
28 TERM dtterm
29 TERM gnome
30 TERM hurd
31 TERM jfbterm
32 TERM konsole
33 TERM kterm
34 TERM linux
35 TERM linux-c
36 TERM mlterm
37 TERM putty
38 TERM rxvt*
39 TERM screen*
40 TERM st
41 TERM terminator
42 TERM tmux*
43 TERM vt100
44 TERM xterm*
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:
53 # Attribute codes:
54 # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
55 # Text color codes:
56 # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
57 # Background color codes:
58 # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=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;34       # directory
63 LINK 01;36      # 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 40;33      # pipe
67 SOCK 01;35      # socket
68 DOOR 01;35      # door
69 BLK 40;33;01    # block device driver
70 CHR 40;33;01    # character device driver
71 ORPHAN 40;31;01 # symlink to nonexistent file, or non-stat'able file ...
72 MISSING 00      # ... and the files they point to
73 SETUID 37;41    # file that is setuid (u+s)
74 SETGID 30;43    # file that is setgid (g+s)
75 CAPABILITY 00   # file with capability (very expensive to lookup)
76 STICKY_OTHER_WRITABLE 30;42 # dir that is sticky and other-writable (+t,o+w)
77 OTHER_WRITABLE 34;42 # dir that is other-writable (o+w) and not sticky
78 STICKY 37;44    # dir with the sticky bit set (+t) and not other-writable
80 # This is for files with execute permission:
81 EXEC 01;32
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;32 # executables (bright green)
95 #.exe 01;32
96 #.com 01;32
97 #.btm 01;32
98 #.bat 01;32
99 # Or if you want to color scripts even if they do not have the
100 # executable bit actually set.
101 #.sh  01;32
102 #.csh 01;32
104 # archives or compressed (bright red)
105 .7z  01;31
106 .ace 01;31
107 .alz 01;31
108 .apk 01;31
109 .arc 01;31
110 .arj 01;31
111 .bz  01;31
112 .bz2 01;31
113 .cab 01;31
114 .cpio 01;31
115 .crate 01;31
116 .deb 01;31
117 .drpm 01;31
118 .dwm 01;31
119 .dz  01;31
120 .ear 01;31
121 .egg 01;31
122 .esd 01;31
123 .gz  01;31
124 .jar 01;31
125 .lha 01;31
126 .lrz 01;31
127 .lz  01;31
128 .lz4 01;31
129 .lzh 01;31
130 .lzma 01;31
131 .lzo 01;31
132 .pyz 01;31
133 .rar 01;31
134 .rpm 01;31
135 .rz  01;31
136 .sar 01;31
137 .swm 01;31
138 .t7z 01;31
139 .tar 01;31
140 .taz 01;31
141 .tbz 01;31
142 .tbz2 01;31
143 .tgz 01;31
144 .tlz 01;31
145 .txz 01;31
146 .tz  01;31
147 .tzo 01;31
148 .tzst 01;31
149 .udeb 01;31
150 .war 01;31
151 .whl 01;31
152 .wim 01;31
153 .xz  01;31
154 .z   01;31
155 .zip 01;31
156 .zoo 01;31
157 .zst 01;31
159 # image formats
160 .avif 01;35
161 .jpg 01;35
162 .jpeg 01;35
163 .mjpg 01;35
164 .mjpeg 01;35
165 .gif 01;35
166 .bmp 01;35
167 .pbm 01;35
168 .pgm 01;35
169 .ppm 01;35
170 .tga 01;35
171 .xbm 01;35
172 .xpm 01;35
173 .tif 01;35
174 .tiff 01;35
175 .png 01;35
176 .svg 01;35
177 .svgz 01;35
178 .mng 01;35
179 .pcx 01;35
180 .mov 01;35
181 .mpg 01;35
182 .mpeg 01;35
183 .m2v 01;35
184 .mkv 01;35
185 .webm 01;35
186 .webp 01;35
187 .ogm 01;35
188 .mp4 01;35
189 .m4v 01;35
190 .mp4v 01;35
191 .vob 01;35
192 .qt  01;35
193 .nuv 01;35
194 .wmv 01;35
195 .asf 01;35
196 .rm  01;35
197 .rmvb 01;35
198 .flc 01;35
199 .avi 01;35
200 .fli 01;35
201 .flv 01;35
202 .gl 01;35
203 .dl 01;35
204 .xcf 01;35
205 .xwd 01;35
206 .yuv 01;35
207 .cgm 01;35
208 .emf 01;35
210 # https://wiki.xiph.org/MIME_Types_and_File_Extensions
211 .ogv 01;35
212 .ogx 01;35
214 # audio formats
215 .aac 00;36
216 .au 00;36
217 .flac 00;36
218 .m4a 00;36
219 .mid 00;36
220 .midi 00;36
221 .mka 00;36
222 .mp3 00;36
223 .mpc 00;36
224 .ogg 00;36
225 .ra 00;36
226 .wav 00;36
228 # https://wiki.xiph.org/MIME_Types_and_File_Extensions
229 .oga 00;36
230 .opus 00;36
231 .spx 00;36
232 .xspf 00;36
234 # backup files
235 *~ 00;90
236 *# 00;90
237 .bak 00;90
238 .crdownload 00;90
239 .dpkg-dist 00;90
240 .dpkg-new 00;90
241 .dpkg-old 00;90
242 .dpkg-tmp 00;90
243 .old 00;90
244 .orig 00;90
245 .part 00;90
246 .rej 00;90
247 .rpmnew 00;90
248 .rpmorig 00;90
249 .rpmsave 00;90
250 .swp 00;90
251 .tmp 00;90
252 .ucf-dist 00;90
253 .ucf-new 00;90
254 .ucf-old 00;90
257 # Subsequent TERM or COLORTERM entries, can be used to add / override
258 # config specific to those matching environment variables.