split: port ‘split -n N /dev/null’ better to macOS
[coreutils.git] / src / dircolors.hin
blobe5d9eab946d6b93b5d5799a45db0d471937029cb
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-2023 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.
8 # The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the
9 # slackware version of dircolors) are recognized but ignored.
11 # Global config options can be specified before TERM or COLORTERM entries
13 # Below are TERM or COLORTERM entries, which can be glob patterns, which
14 # restrict following config to systems with matching environment variables.
15 COLORTERM ?*
16 TERM Eterm
17 TERM ansi
18 TERM *color*
19 TERM con[0-9]*x[0-9]*
20 TERM cons25
21 TERM console
22 TERM cygwin
23 TERM *direct*
24 TERM dtterm
25 TERM gnome
26 TERM hurd
27 TERM jfbterm
28 TERM konsole
29 TERM kterm
30 TERM linux
31 TERM linux-c
32 TERM mlterm
33 TERM putty
34 TERM rxvt*
35 TERM screen*
36 TERM st
37 TERM terminator
38 TERM tmux*
39 TERM vt100
40 TERM xterm*
42 # Below are the color init strings for the basic file types.
43 # One can use codes for 256 or more colors supported by modern terminals.
44 # The default color codes use the capabilities of an 8 color terminal
45 # with some additional attributes as per the following codes:
46 # Attribute codes:
47 # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
48 # Text color codes:
49 # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
50 # Background color codes:
51 # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
52 #NORMAL 00      # no color code at all
53 #FILE 00        # regular file: use no color at all
54 RESET 0         # reset to "normal" color
55 DIR 01;34       # directory
56 LINK 01;36      # symbolic link.  (If you set this to 'target' instead of a
57                 # numerical value, the color is as for the file pointed to.)
58 MULTIHARDLINK 00        # regular file with more than one link
59 FIFO 40;33      # pipe
60 SOCK 01;35      # socket
61 DOOR 01;35      # door
62 BLK 40;33;01    # block device driver
63 CHR 40;33;01    # character device driver
64 ORPHAN 40;31;01 # symlink to nonexistent file, or non-stat'able file ...
65 MISSING 00      # ... and the files they point to
66 SETUID 37;41    # file that is setuid (u+s)
67 SETGID 30;43    # file that is setgid (g+s)
68 CAPABILITY 00   # file with capability (very expensive to lookup)
69 STICKY_OTHER_WRITABLE 30;42 # dir that is sticky and other-writable (+t,o+w)
70 OTHER_WRITABLE 34;42 # dir that is other-writable (o+w) and not sticky
71 STICKY 37;44    # dir with the sticky bit set (+t) and not other-writable
73 # This is for files with execute permission:
74 EXEC 01;32
76 # List any file extensions like '.gz' or '.tar' that you would like ls
77 # to color below. Put the extension, a space, and the color init string.
78 # (and any comments you want to add after a '#')
80 # If you use DOS-style suffixes, you may want to uncomment the following:
81 #.cmd 01;32 # executables (bright green)
82 #.exe 01;32
83 #.com 01;32
84 #.btm 01;32
85 #.bat 01;32
86 # Or if you want to color scripts even if they do not have the
87 # executable bit actually set.
88 #.sh  01;32
89 #.csh 01;32
91  # archives or compressed (bright red)
92 .tar 01;31
93 .tgz 01;31
94 .arc 01;31
95 .arj 01;31
96 .taz 01;31
97 .lha 01;31
98 .lz4 01;31
99 .lzh 01;31
100 .lzma 01;31
101 .tlz 01;31
102 .txz 01;31
103 .tzo 01;31
104 .t7z 01;31
105 .zip 01;31
106 .z   01;31
107 .dz  01;31
108 .gz  01;31
109 .lrz 01;31
110 .lz  01;31
111 .lzo 01;31
112 .xz  01;31
113 .zst 01;31
114 .tzst 01;31
115 .bz2 01;31
116 .bz  01;31
117 .tbz 01;31
118 .tbz2 01;31
119 .tz  01;31
120 .deb 01;31
121 .rpm 01;31
122 .jar 01;31
123 .war 01;31
124 .ear 01;31
125 .sar 01;31
126 .rar 01;31
127 .alz 01;31
128 .ace 01;31
129 .zoo 01;31
130 .cpio 01;31
131 .7z  01;31
132 .rz  01;31
133 .cab 01;31
134 .wim 01;31
135 .swm 01;31
136 .dwm 01;31
137 .esd 01;31
139 # image formats
140 .avif 01;35
141 .jpg 01;35
142 .jpeg 01;35
143 .mjpg 01;35
144 .mjpeg 01;35
145 .gif 01;35
146 .bmp 01;35
147 .pbm 01;35
148 .pgm 01;35
149 .ppm 01;35
150 .tga 01;35
151 .xbm 01;35
152 .xpm 01;35
153 .tif 01;35
154 .tiff 01;35
155 .png 01;35
156 .svg 01;35
157 .svgz 01;35
158 .mng 01;35
159 .pcx 01;35
160 .mov 01;35
161 .mpg 01;35
162 .mpeg 01;35
163 .m2v 01;35
164 .mkv 01;35
165 .webm 01;35
166 .webp 01;35
167 .ogm 01;35
168 .mp4 01;35
169 .m4v 01;35
170 .mp4v 01;35
171 .vob 01;35
172 .qt  01;35
173 .nuv 01;35
174 .wmv 01;35
175 .asf 01;35
176 .rm  01;35
177 .rmvb 01;35
178 .flc 01;35
179 .avi 01;35
180 .fli 01;35
181 .flv 01;35
182 .gl 01;35
183 .dl 01;35
184 .xcf 01;35
185 .xwd 01;35
186 .yuv 01;35
187 .cgm 01;35
188 .emf 01;35
190 # https://wiki.xiph.org/MIME_Types_and_File_Extensions
191 .ogv 01;35
192 .ogx 01;35
194 # audio formats
195 .aac 00;36
196 .au 00;36
197 .flac 00;36
198 .m4a 00;36
199 .mid 00;36
200 .midi 00;36
201 .mka 00;36
202 .mp3 00;36
203 .mpc 00;36
204 .ogg 00;36
205 .ra 00;36
206 .wav 00;36
208 # https://wiki.xiph.org/MIME_Types_and_File_Extensions
209 .oga 00;36
210 .opus 00;36
211 .spx 00;36
212 .xspf 00;36
214 # backup files
215 *~ 00;90
216 *# 00;90
217 .bak 00;90
218 .old 00;90
219 .orig 00;90
220 .part 00;90
221 .rej 00;90
222 .swp 00;90
223 .tmp 00;90
224 .dpkg-dist 00;90
225 .dpkg-old 00;90
226 .ucf-dist 00;90
227 .ucf-new 00;90
228 .ucf-old 00;90
229 .rpmnew 00;90
230 .rpmorig 00;90
231 .rpmsave 00;90
233 # Subsequent TERM or COLORTERM entries, can be used to add / override
234 # config specific to those matching environment variables.