1 # Configuration file for the color ls utility
2 # Synchronized with coreutils 8.5 dircolors
3 # This file goes in the /etc directory, and must be world readable.
4 # You can copy this file to .dir_colors in your $HOME directory to override
7 # COLOR needs one of these arguments: 'tty' colorizes output to ttys, but not
8 # pipes. 'all' adds color characters to all output. 'none' shuts colorization
12 # Extra command line options for ls go here.
13 # Basically these ones are:
14 # -F = show '/' for dirs, '*' for executables, etc.
15 # -T 0 = don't trust tab spacing when formatting ls output.
18 # Below, there should be one TERM entry for each termtype that is colorizable
21 TERM rxvt-unicode-256color
28 # EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output)
31 # Below are the color init strings for the basic file types. A color init
32 # string consists of one or more of the following numeric codes:
34 # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
36 # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
37 # Background color codes:
38 # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
40 # Text color(256 colors mode) codes:
41 # Valid syntax for text 256color is 38;5;<color number> , where color number
42 # is number between 0 and 255.
43 # You may find following command useful to search the best one for you:
44 # for ((x=0; x<=255; x++));do echo -e "${x}:\033[38;5;${x}mcolor\033[000m";done
45 # Background color(256 colors mode) codes:
46 # Valid syntax for background 256color is 48;5;<color number> , where
47 # color number is number between 0 and 255.
48 # You may find following command useful to search the best one for you:
49 # for ((x=0; x<=255; x++));do echo -e "${x}:\033[48;5;${x}mcolor\033[000m";done
50 NORMAL 00 # global default, although everything should be something.
52 RESET 0 # reset to "normal" color
53 DIR 38;5;27 # directory
54 LINK 38;5;51 # symbolic link (If you set this to 'target' instead of a
55 # numerical value, the color is as for the file pointed to.)
56 MULTIHARDLINK 44;38;5;15 # regular file with more than one link
57 FIFO 40;38;5;214 # pipe
60 BLK 48;5;232;38;5;226 # block device driver
61 CHR 48;5;232;38;5;3 # character device driver
62 ORPHAN 48;5;232;38;5;196 # symlink to nonexistent file, or non-stat'able file
63 MISSING 05;48;5;232;38;5;196 # ... and the files they point to
64 SETUID 48;5;196;38;5;15 # file that is setuid (u+s)
65 SETGID 48;5;130;38;5;16 # file that is setgid (g+s)
66 CAPABILITY 48;5;196;38;5;226 # file with capability
67 STICKY_OTHER_WRITABLE 48;5;40;38;5;16 # dir that is sticky and other-writable (+t,o+w)
68 OTHER_WRITABLE 48;5;40;38;5;21 # dir that is other-writable (o+w) and not sticky
69 STICKY 48;5;21;38;5;15 # dir with the sticky bit set (+t) and not other-writable
71 # This is for files with execute permission:
74 # List any file extensions like '.gz' or '.tar' that you would like ls
75 # to colorize below. Put the extension, a space, and the color init string.
76 # (and any comments you want to add after a '#')
78 # executables (bright green)
87 # archives or compressed (bright red)
134 # image formats (bright magenta)
183 # http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
189 # audio formats (white)
202 # http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
255 # devel (bright yellow)