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.
3
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.
7
8#
9# The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the
10# slackware version of dircolors) are recognized but ignored.
11
12# Global config options can be specified before TERM or COLORTERM entries
13
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.
19COLORTERM ?*
20TERM Eterm
21TERM ansi
22TERM *color*
23TERM con[0-9]*x[0-9]*
24TERM cons25
25TERM console
26TERM cygwin
27TERM *direct*
28TERM dtterm
29TERM gnome
30TERM hurd
31TERM jfbterm
32TERM konsole
33TERM kterm
34TERM linux
35TERM linux-c
36TERM mlterm
37TERM putty
38TERM rxvt*
39TERM screen*
40TERM st
41TERM terminator
42TERM tmux*
43TERM vt100
44TERM xterm*
45
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
61RESET 0		# reset to "normal" color
62DIR 01;34	# directory
63LINK 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.)
65MULTIHARDLINK 00	# regular file with more than one link
66FIFO 40;33	# pipe
67SOCK 01;35	# socket
68DOOR 01;35	# door
69BLK 40;33;01	# block device driver
70CHR 40;33;01	# character device driver
71ORPHAN 40;31;01 # symlink to nonexistent file, or non-stat'able file ...
72MISSING 00      # ... and the files they point to
73SETUID 37;41	# file that is setuid (u+s)
74SETGID 30;43	# file that is setgid (g+s)
75CAPABILITY 00	# file with capability (very expensive to lookup)
76STICKY_OTHER_WRITABLE 30;42 # dir that is sticky and other-writable (+t,o+w)
77OTHER_WRITABLE 34;42 # dir that is other-writable (o+w) and not sticky
78STICKY 37;44	# dir with the sticky bit set (+t) and not other-writable
79
80# This is for files with execute permission:
81EXEC 01;32
82
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.
91#
92
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
103
104# archives or compressed (bright red)
105.tar 01;31
106.tgz 01;31
107.arc 01;31
108.arj 01;31
109.taz 01;31
110.lha 01;31
111.lz4 01;31
112.lzh 01;31
113.lzma 01;31
114.tlz 01;31
115.txz 01;31
116.tzo 01;31
117.t7z 01;31
118.zip 01;31
119.z   01;31
120.dz  01;31
121.gz  01;31
122.lrz 01;31
123.lz  01;31
124.lzo 01;31
125.xz  01;31
126.zst 01;31
127.tzst 01;31
128.bz2 01;31
129.bz  01;31
130.tbz 01;31
131.tbz2 01;31
132.tz  01;31
133.deb 01;31
134.rpm 01;31
135.jar 01;31
136.war 01;31
137.ear 01;31
138.sar 01;31
139.rar 01;31
140.alz 01;31
141.ace 01;31
142.zoo 01;31
143.cpio 01;31
144.7z  01;31
145.rz  01;31
146.cab 01;31
147.wim 01;31
148.swm 01;31
149.dwm 01;31
150.esd 01;31
151
152# image formats
153.avif 01;35
154.jpg 01;35
155.jpeg 01;35
156.mjpg 01;35
157.mjpeg 01;35
158.gif 01;35
159.bmp 01;35
160.pbm 01;35
161.pgm 01;35
162.ppm 01;35
163.tga 01;35
164.xbm 01;35
165.xpm 01;35
166.tif 01;35
167.tiff 01;35
168.png 01;35
169.svg 01;35
170.svgz 01;35
171.mng 01;35
172.pcx 01;35
173.mov 01;35
174.mpg 01;35
175.mpeg 01;35
176.m2v 01;35
177.mkv 01;35
178.webm 01;35
179.webp 01;35
180.ogm 01;35
181.mp4 01;35
182.m4v 01;35
183.mp4v 01;35
184.vob 01;35
185.qt  01;35
186.nuv 01;35
187.wmv 01;35
188.asf 01;35
189.rm  01;35
190.rmvb 01;35
191.flc 01;35
192.avi 01;35
193.fli 01;35
194.flv 01;35
195.gl 01;35
196.dl 01;35
197.xcf 01;35
198.xwd 01;35
199.yuv 01;35
200.cgm 01;35
201.emf 01;35
202
203# https://wiki.xiph.org/MIME_Types_and_File_Extensions
204.ogv 01;35
205.ogx 01;35
206
207# audio formats
208.aac 00;36
209.au 00;36
210.flac 00;36
211.m4a 00;36
212.mid 00;36
213.midi 00;36
214.mka 00;36
215.mp3 00;36
216.mpc 00;36
217.ogg 00;36
218.ra 00;36
219.wav 00;36
220
221# https://wiki.xiph.org/MIME_Types_and_File_Extensions
222.oga 00;36
223.opus 00;36
224.spx 00;36
225.xspf 00;36
226
227# backup files
228*~ 00;90
229*# 00;90
230.bak 00;90
231.crdownload 00;90
232.dpkg-dist 00;90
233.dpkg-new 00;90
234.dpkg-old 00;90
235.dpkg-tmp 00;90
236.old 00;90
237.orig 00;90
238.part 00;90
239.rej 00;90
240.rpmnew 00;90
241.rpmorig 00;90
242.rpmsave 00;90
243.swp 00;90
244.tmp 00;90
245.ucf-dist 00;90
246.ucf-new 00;90
247.ucf-old 00;90
248
249#
250# Subsequent TERM or COLORTERM entries, can be used to add / override
251# config specific to those matching environment variables.
252