0363d66
# Configuration file for the 256color ls utility
0363d66
# This file goes in the /etc directory, and must be world readable.
0363d66
# You can copy this file to .dir_colors in your $HOME directory to override
0363d66
# the system defaults.
0363d66
# In the case that you are not satisfied with supplied colors, please
0363d66
# submit your color configuration or attach your file with colors readable
0363d66
# on ALL color background schemas (white,gray,black) to RedHat Bugzilla
0363d66
# ticket on https://bugzilla.redhat.com/show_bug.cgi?id=429121 . TIA.
0363d66
# Please just keep ls color conventions from 8 color scheme.
0363d66
0363d66
# COLOR needs one of these arguments: 'tty' colorizes output to ttys, but not
0363d66
# pipes. 'all' adds color characters to all output. 'none' shuts colorization
0363d66
# off.
0363d66
COLOR tty
0363d66
0363d66
# Extra command line options for ls go here.
0363d66
# Basically these ones are:
0363d66
#  -F = show '/' for dirs, '*' for executables, etc.
0363d66
#  -T 0 = don't trust tab spacing when formatting ls output.
0363d66
OPTIONS -F -T 0
0363d66
0363d66
# Below, there should be one TERM entry for each termtype that is colorizable
0363d66
TERM putty-256color
0363d66
TERM rxvt-256color
0363d66
TERM screen-256color
0363d66
TERM xterm-256color
0363d66
TERM gnome-256color
0363d66
0363d66
# EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output)
0363d66
EIGHTBIT 1
0363d66
0363d66
# Below are the color init strings for the basic file types. A color init
0363d66
# string consists of one or more of the following numeric codes:
0363d66
# Attribute codes: 
0363d66
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
0363d66
# Text color(8 colors mode) codes:
0363d66
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
0363d66
# Background color(8 colors mode) codes:
0363d66
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
0363d66
# Text color(256 colors mode) codes:
0363d66
# Valid syntax for text 256color is 38;5;<color number> , where color number
0363d66
# is number between 0 and 255.
0363d66
# You may find following command useful to search the best one for you:
0363d66
# for ((x=0; x<=255; x++));do echo -e "${x}:\033[38;5;${x}mcolor\033[000m";done
0363d66
# Background color(256 colors mode) codes:
0363d66
# Valid syntax for background 256color is 48;5;<color number> , where
0363d66
# color number is number between 0 and 255.
0363d66
# You may find following command useful to search the best one for you:
0363d66
# for ((x=0; x<=255; x++));do echo -e "${x}:\033[48;5;${x}mcolor\033[000m";done
0363d66
0363d66
NORMAL 00	# global default, although everything should be something.
0363d66
FILE 00 	# normal file
0363d66
DIR 01;38;5;27 	# directory
0363d66
LINK 01;38;5;51 	# symbolic link (If you set this to 'target' instead of a
0363d66
		# numerical value, the color is as for the file pointed to.)
0363d66
FIFO 40;38;5;11	# pipe
0363d66
SOCK 01;38;5;13	# socket
0363d66
DOOR 01;38;5;5	# door
0363d66
BLK 01;48;5;232;38;5;11	# block device driver
0363d66
CHR 01;48;5;232;38;5;3 	# character device driver
0363d66
ORPHAN 01;48;5;232;38;5;9  # symlink to nonexistent file, or non-stat'able file
0363d66
MISSING 01;05;48;5;232;38;5;15 # ... and the files they point to
0363d66
SETUID 48;5;196;38;5;15	# file that is setuid (u+s)
0363d66
SETGID 48;5;11;38;5;16	# file that is setgid (g+s)
10de1c1
CAPABILITY 48;5;196;38;5;226	# file with capability
0363d66
STICKY_OTHER_WRITABLE 48;5;10;38;5;16 # dir that is sticky and other-writable (+t,o+w)
0363d66
OTHER_WRITABLE 48;5;10;38;5;21 # dir that is other-writable (o+w) and not sticky
0363d66
STICKY 48;5;21;38;5;15	# dir with the sticky bit set (+t) and not other-writable
0363d66
0363d66
# This is for files with execute permission:
55707b6
EXEC 01;38;5;34
0363d66
0363d66
# List any file extensions like '.gz' or '.tar' that you would like ls
0363d66
# to colorize below. Put the extension, a space, and the color init string.
0363d66
# (and any comments you want to add after a '#')
0363d66
# executables (bright green)
55707b6
.cmd 01;38;5;34
55707b6
.exe 01;38;5;34
55707b6
.com 01;38;5;34
55707b6
.btm 01;38;5;34
55707b6
.bat 01;38;5;34
55707b6
.sh  01;38;5;34
55707b6
.csh 01;38;5;34
0363d66
 # archives or compressed (bright red)
0363d66
.tar 01;38;5;9 
0363d66
.tgz 01;38;5;9
0363d66
.svgz 01;38;5;9
0363d66
.arj 01;38;5;9
0363d66
.taz 01;38;5;9
0363d66
.lzh 01;38;5;9
0363d66
.lzma 01;38;5;9
0363d66
.zip 01;38;5;9
0363d66
.z   01;38;5;9
0363d66
.Z   01;38;5;9
0363d66
.dz  01;38;5;9
0363d66
.gz  01;38;5;9
0363d66
.bz2 01;38;5;9
0363d66
.tbz2 01;38;5;9
0363d66
.bz  01;38;5;9
0363d66
.tz  01;38;5;9
0363d66
.deb 01;38;5;9
0363d66
.rpm 01;38;5;9
0363d66
.jar 01;38;5;9
0363d66
.rar 01;38;5;9
0363d66
.ace 01;38;5;9
0363d66
.zoo 01;38;5;9
0363d66
.cpio 01;38;5;9
0363d66
.7z  01;38;5;9
0363d66
.rz  01;38;5;9
0363d66
# image formats (magenta)
0363d66
.jpg 01;38;5;13 
0363d66
.jpeg 01;38;5;13
0363d66
.gif 01;38;5;13
0363d66
.bmp 01;38;5;13
0363d66
.pbm 01;38;5;13
0363d66
.pgm 01;38;5;13
0363d66
.ppm 01;38;5;13
0363d66
.tga 01;38;5;13
0363d66
.xbm 01;38;5;13
0363d66
.xpm 01;38;5;13
0363d66
.tif 01;38;5;13
0363d66
.tiff 01;38;5;13
0363d66
.png 01;38;5;13
0363d66
.mng 01;38;5;13
0363d66
.pcx 01;38;5;13
0363d66
.mov 01;38;5;13
0363d66
.mpg 01;38;5;13
0363d66
.mpeg 01;38;5;13
0363d66
.m2v 01;38;5;13
0363d66
.mkv 01;38;5;13
0363d66
.ogm 01;38;5;13
0363d66
.mp4 01;38;5;13
0363d66
.m4v 01;38;5;13
0363d66
.mp4v 01;38;5;13
0363d66
.vob 01;38;5;13
0363d66
.qt  01;38;5;13
0363d66
.nuv 01;38;5;13
0363d66
.wmv 01;38;5;13
0363d66
.asf 01;38;5;13
0363d66
.rm  01;38;5;13
0363d66
.rmvb 01;38;5;13
0363d66
.flc 01;38;5;13
0363d66
.avi 01;38;5;13
0363d66
.fli 01;38;5;13
0363d66
.gl 01;38;5;13
0363d66
.dl 01;38;5;13
0363d66
.xcf 01;38;5;13
0363d66
.xwd 01;38;5;13
0363d66
.yuv 01;38;5;13
0363d66
.svg 01;38;5;13
0363d66
# audio formats (cyan)
55707b6
.aac 00;38;5;45
55707b6
.au 00;38;5;45
55707b6
.flac 00;38;5;45
55707b6
.mid 00;38;5;45
55707b6
.midi 00;38;5;45
55707b6
.mka 00;38;5;45
55707b6
.mp3 00;38;5;45
55707b6
.mpc 00;38;5;45
55707b6
.ogg 00;38;5;45
55707b6
.ra 00;38;5;45
55707b6
.wav 00;38;5;45