| 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 7.1 dircolors
|
| 4 |
# You can copy this file to .dir_colors in your $HOME directory to override
|
| 5 |
# the system defaults.
|
| 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.
|
| 11 |
|
| 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
|
| 14 |
# off.
|
| 15 |
COLOR tty
|
| 16 |
|
| 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.
|
| 21 |
OPTIONS -F -T 0
|
| 22 |
|
| 23 |
# Below, there should be one TERM entry for each termtype that is colorizable
|
| 24 |
TERM putty-256color
|
| 25 |
TERM rxvt-256color
|
| 26 |
TERM screen-256color
|
| 27 |
TERM xterm-256color
|
| 28 |
TERM gnome-256color
|
| 29 |
|
| 30 |
# EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output)
|
| 31 |
EIGHTBIT 1
|
| 32 |
|
| 33 |
# Below are the color init strings for the basic file types. A color init
|
| 34 |
# string consists of one or more of the following numeric codes:
|
| 35 |
# Attribute codes:
|
| 36 |
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
|
| 37 |
# Text color(8 colors mode) codes:
|
| 38 |
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
|
| 39 |
# Background color(8 colors mode) codes:
|
| 40 |
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
|
| 41 |
# Text color(256 colors mode) codes:
|
| 42 |
# Valid syntax for text 256color is 38;5;<color number> , where color number
|
| 43 |
# is number between 0 and 255.
|
| 44 |
# You may find following command useful to search the best one for you:
|
| 45 |
# for ((x=0; x<=255; x++));do echo -e "${x}:\033[38;5;${x}mcolor\033[000m";done
|
| 46 |
# Background color(256 colors mode) codes:
|
| 47 |
# Valid syntax for background 256color is 48;5;<color number> , where
|
| 48 |
# color number is number between 0 and 255.
|
| 49 |
# You may find following command useful to search the best one for you:
|
| 50 |
# for ((x=0; x<=255; x++));do echo -e "${x}:\033[48;5;${x}mcolor\033[000m";done
|
| 51 |
|
| 52 |
#NORMAL 00 # global default, no color code at all
|
| 53 |
#FILE 00 # normal file, use no color at all
|
| 54 |
RESET 0 # reset to "normal" color
|
| 55 |
DIR 01;38;5;27 # directory
|
| 56 |
LINK 01;38;5;51 # symbolic link (If you set this to 'target' instead of a
|
| 57 |
# numerical value, the color is as for the file pointed to.)
|
| 58 |
MULTIHARDLINK 44;38;5;15 # regular file with more than one link
|
| 59 |
FIFO 40;38;5;11 # pipe
|
| 60 |
SOCK 01;38;5;13 # socket
|
| 61 |
DOOR 01;38;5;5 # door
|
| 62 |
BLK 01;48;5;232;38;5;11 # block device driver
|
| 63 |
CHR 01;48;5;232;38;5;3 # character device driver
|
| 64 |
ORPHAN 01;48;5;232;38;5;9 # symlink to nonexistent file, or non-stat'able file
|
| 65 |
MISSING 01;05;48;5;232;38;5;15 # ... and the files they point to
|
| 66 |
SETUID 48;5;196;38;5;15 # file that is setuid (u+s)
|
| 67 |
SETGID 48;5;11;38;5;16 # file that is setgid (g+s)
|
| 68 |
CAPABILITY 48;5;196;38;5;226 # file with capability
|
| 69 |
STICKY_OTHER_WRITABLE 48;5;10;38;5;16 # dir that is sticky and other-writable (+t,o+w)
|
| 70 |
OTHER_WRITABLE 48;5;10;38;5;21 # dir that is other-writable (o+w) and not sticky
|
| 71 |
STICKY 48;5;21;38;5;15 # dir with the sticky bit set (+t) and not other-writable
|
| 72 |
|
| 73 |
# This is for files with execute permission:
|
| 74 |
EXEC 01;38;5;34
|
| 75 |
|
| 76 |
# List any file extensions like '.gz' or '.tar' that you would like ls
|
| 77 |
# to colorize below. Put the extension, a space, and the color init string.
|
| 78 |
# (and any comments you want to add after a '#')
|
| 79 |
# executables (bright green)
|
| 80 |
#.cmd 01;38;5;34
|
| 81 |
#.exe 01;38;5;34
|
| 82 |
#.com 01;38;5;34
|
| 83 |
#.btm 01;38;5;34
|
| 84 |
#.bat 01;38;5;34
|
| 85 |
#.sh 01;38;5;34
|
| 86 |
#.csh 01;38;5;34
|
| 87 |
# archives or compressed (bright red)
|
| 88 |
.tar 01;38;5;9
|
| 89 |
.tgz 01;38;5;9
|
| 90 |
.arj 01;38;5;9
|
| 91 |
.taz 01;38;5;9
|
| 92 |
.lzh 01;38;5;9
|
| 93 |
.lzma 01;38;5;9
|
| 94 |
.tlz 01;38;5;9
|
| 95 |
.txz 01;38;5;9
|
| 96 |
.zip 01;38;5;9
|
| 97 |
.z 01;38;5;9
|
| 98 |
.Z 01;38;5;9
|
| 99 |
.dz 01;38;5;9
|
| 100 |
.gz 01;38;5;9
|
| 101 |
.lz 01;38;5;9
|
| 102 |
.xz 01;38;5;9
|
| 103 |
.bz2 01;38;5;9
|
| 104 |
.tbz 01;38;5;9
|
| 105 |
.tbz2 01;38;5;9
|
| 106 |
.bz 01;38;5;9
|
| 107 |
.tz 01;38;5;9
|
| 108 |
.deb 01;38;5;9
|
| 109 |
.rpm 01;38;5;9
|
| 110 |
.jar 01;38;5;9
|
| 111 |
.rar 01;38;5;9
|
| 112 |
.ace 01;38;5;9
|
| 113 |
.zoo 01;38;5;9
|
| 114 |
.cpio 01;38;5;9
|
| 115 |
.7z 01;38;5;9
|
| 116 |
.rz 01;38;5;9
|
| 117 |
|
| 118 |
# image formats (magenta)
|
| 119 |
.jpg 01;38;5;13
|
| 120 |
.jpeg 01;38;5;13
|
| 121 |
.gif 01;38;5;13
|
| 122 |
.bmp 01;38;5;13
|
| 123 |
.pbm 01;38;5;13
|
| 124 |
.pgm 01;38;5;13
|
| 125 |
.ppm 01;38;5;13
|
| 126 |
.tga 01;38;5;13
|
| 127 |
.xbm 01;38;5;13
|
| 128 |
.xpm 01;38;5;13
|
| 129 |
.tif 01;38;5;13
|
| 130 |
.tiff 01;38;5;13
|
| 131 |
.png 01;38;5;13
|
| 132 |
.svg 01;38;5;13
|
| 133 |
.svgz 01;38;5;13
|
| 134 |
.mng 01;38;5;13
|
| 135 |
.pcx 01;38;5;13
|
| 136 |
.mov 01;38;5;13
|
| 137 |
.mpg 01;38;5;13
|
| 138 |
.mpeg 01;38;5;13
|
| 139 |
.m2v 01;38;5;13
|
| 140 |
.mkv 01;38;5;13
|
| 141 |
.ogm 01;38;5;13
|
| 142 |
.mp4 01;38;5;13
|
| 143 |
.m4v 01;38;5;13
|
| 144 |
.mp4v 01;38;5;13
|
| 145 |
.vob 01;38;5;13
|
| 146 |
.qt 01;38;5;13
|
| 147 |
.nuv 01;38;5;13
|
| 148 |
.wmv 01;38;5;13
|
| 149 |
.asf 01;38;5;13
|
| 150 |
.rm 01;38;5;13
|
| 151 |
.rmvb 01;38;5;13
|
| 152 |
.flc 01;38;5;13
|
| 153 |
.avi 01;38;5;13
|
| 154 |
.fli 01;38;5;13
|
| 155 |
.flv 01;38;5;13
|
| 156 |
.gl 01;38;5;13
|
| 157 |
.dl 01;38;5;13
|
| 158 |
.xcf 01;38;5;13
|
| 159 |
.xwd 01;38;5;13
|
| 160 |
.yuv 01;38;5;13
|
| 161 |
.cgm 01;38;5;13
|
| 162 |
.emf 01;38;5;13
|
| 163 |
|
| 164 |
# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
|
| 165 |
.axv 01;38;5;13
|
| 166 |
.anx 01;38;5;13
|
| 167 |
.ogv 01;38;5;13
|
| 168 |
.ogx 01;38;5;13
|
| 169 |
|
| 170 |
# audio formats (cyan)
|
| 171 |
.aac 01;38;5;45
|
| 172 |
.au 01;38;5;45
|
| 173 |
.flac 01;38;5;45
|
| 174 |
.mid 01;38;5;45
|
| 175 |
.midi 01;38;5;45
|
| 176 |
.mka 01;38;5;45
|
| 177 |
.mp3 01;38;5;45
|
| 178 |
.mpc 01;38;5;45
|
| 179 |
.ogg 01;38;5;45
|
| 180 |
.ra 01;38;5;45
|
| 181 |
.wav 01;38;5;45
|
| 182 |
|
| 183 |
# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
|
| 184 |
.axa 01;38;5;45
|
| 185 |
.oga 01;38;5;45
|
| 186 |
.spx 01;38;5;45
|
| 187 |
.xspf 01;38;5;45
|