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-2022 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 # Below are TERM entries, which can be a glob patterns, to match
12 # against the TERM environment variable to determine if it is colorable.
39 # Below are the color init strings for the basic file types.
40 # One can use codes for 256 or more colors supported by modern terminals.
41 # The default color codes use the capabilities of an 8 color terminal
42 # with some additional attributes as per the following codes:
44 # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
46 # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
47 # Background color codes:
48 # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
49 #NORMAL 00 # no color code at all
50 #FILE 00 # regular file: use no color at all
51 RESET 0 # reset to "normal" color
53 LINK 01;36 # symbolic link. (If you set this to 'target' instead of a
54 # numerical value, the color is as for the file pointed to.)
55 MULTIHARDLINK 00 # regular file with more than one link
59 BLK 40;33;01 # block device driver
60 CHR 40;33;01 # character device driver
61 ORPHAN 40;31;01 # symlink to nonexistent file, or non-stat'able file ...
62 MISSING 00 # ... and the files they point to
63 SETUID 37;41 # file that is setuid (u+s)
64 SETGID 30;43 # file that is setgid (g+s)
65 CAPABILITY 30;41 # file with capability
66 STICKY_OTHER_WRITABLE 30;42 # dir that is sticky and other-writable (+t,o+w)
67 OTHER_WRITABLE 34;42 # dir that is other-writable (o+w) and not sticky
68 STICKY 37;44 # dir with the sticky bit set (+t) and not other-writable
70 # This is for files with execute permission:
73 # List any file extensions like '.gz' or '.tar' that you would like ls
74 # to color below. Put the extension, a space, and the color init string.
75 # (and any comments you want to add after a '#')
77 # If you use DOS-style suffixes, you may want to uncomment the following:
78 #.cmd 01;32 # executables (bright green)
83 # Or if you want to color scripts even if they do not have the
84 # executable bit actually set.
88 # archives or compressed (bright red)
186 # https://wiki.xiph.org/MIME_Types_and_File_Extensions
204 # https://wiki.xiph.org/MIME_Types_and_File_Extensions