1 # Configuration file for the 256color ls utility
2 # This file goes in the /etc directory, and must be world readable.
3 # Synchronized with coreutils 8.5 dircolors
4 # You can copy this file to .dir_colors in your $HOME directory to override
6 # In the case that you are not satisfied with supplied colors, please
7 # submit your color configuration or attach your file with colors readable
8 # on ALL color background schemas (white,gray,black) to RedHat Bugzilla
9 # ticket on https://bugzilla.redhat.com/show_bug.cgi?id=429121 . TIA.
10 # Please just keep ls color conventions from 8 color scheme.
12 # COLOR needs one of these arguments: 'tty' colorizes output to ttys, but not
13 # pipes. 'all' adds color characters to all output. 'none' shuts colorization
17 # Extra command line options for ls go here.
18 # Basically these ones are:
19 # -F = show '/' for dirs, '*' for executables, etc.
20 # -T 0 = don't trust tab spacing when formatting ls output.
23 # Below, there should be one TERM entry for each termtype that is colorizable
26 TERM rxvt-unicode-256color
32 # EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output)
35 # Below are the color init strings for the basic file types. A color init
36 # string consists of one or more of the following numeric codes:
38 # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
39 # Text color(8 colors mode) codes:
40 # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
41 # Background color(8 colors mode) codes:
42 # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
43 # Text color(256 colors mode) codes:
44 # Valid syntax for text 256color is 38;5;<color number> , where color number
45 # is number between 0 and 255.
46 # You may find following command useful to search the best one for you:
47 # for ((x=0; x<=255; x++));do echo -e "${x}:\033[38;5;${x}mcolor\033[000m";done
48 # Background color(256 colors mode) codes:
49 # Valid syntax for background 256color is 48;5;<color number> , where
50 # color number is number between 0 and 255.
51 # You may find following command useful to search the best one for you:
52 # for ((x=0; x<=255; x++));do echo -e "${x}:\033[48;5;${x}mcolor\033[000m";done
54 #NORMAL 00 # global default, no color code at all
55 #FILE 00 # normal file, use no color at all
56 RESET 0 # reset to "normal" color
57 DIR 38;5;27 # directory
58 LINK 38;5;51 # symbolic link (If you set this to 'target' instead of a
59 # numerical value, the color is as for the file pointed to.)
60 MULTIHARDLINK 44;38;5;15 # regular file with more than one link
61 FIFO 40;38;5;11 # pipe
64 BLK 48;5;232;38;5;11 # block device driver
65 CHR 48;5;232;38;5;3 # character device driver
66 ORPHAN 48;5;232;38;5;9 # symlink to nonexistent file, or non-stat'able file
67 MISSING 05;48;5;232;38;5;15 # ... and the files they point to
68 SETUID 48;5;196;38;5;15 # file that is setuid (u+s)
69 SETGID 48;5;11;38;5;16 # file that is setgid (g+s)
70 CAPABILITY 48;5;196;38;5;226 # file with capability
71 STICKY_OTHER_WRITABLE 48;5;10;38;5;16 # dir that is sticky and other-writable (+t,o+w)
72 OTHER_WRITABLE 48;5;10;38;5;21 # dir that is other-writable (o+w) and not sticky
73 STICKY 48;5;21;38;5;15 # dir with the sticky bit set (+t) and not other-writable
75 # This is for files with execute permission:
78 # List any file extensions like '.gz' or '.tar' that you would like ls
79 # to colorize below. Put the extension, a space, and the color init string.
80 # (and any comments you want to add after a '#')
81 # executables (bright green)
89 # archives or compressed (bright red)
123 # image formats (magenta)
169 # http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
175 # audio formats (cyan)
188 # http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
194 # colorize binary documents (brown)
213 # colorize text documents (brown)