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