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