0363d66
# Configuration file for the 256color ls utility
0363d66
# This file goes in the /etc directory, and must be world readable.
5421281
# Synchronized with coreutils 8.5 dircolors
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
5421281
TERM rxvt-unicode256
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:
c4b1fe4
# 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
c4b1fe4
#NORMAL 00	# global default, no color code at all
c4b1fe4
#FILE 00	# normal file, use no color at all
c4b1fe4
RESET 0 # reset to "normal" color
0ab9d45
DIR 38;5;27	# directory
0ab9d45
LINK 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.)
f0deff4
MULTIHARDLINK 44;38;5;15 # regular file with more than one link
0363d66
FIFO 40;38;5;11	# pipe
0ab9d45
SOCK 38;5;13	# socket
0ab9d45
DOOR 38;5;5	# door
0ab9d45
BLK 48;5;232;38;5;11	# block device driver
0ab9d45
CHR 48;5;232;38;5;3	# character device driver
0ab9d45
ORPHAN 48;5;232;38;5;9  # symlink to nonexistent file, or non-stat'able file
0ab9d45
MISSING 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)
c7a6abf
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:
0ab9d45
EXEC 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)
0ab9d45
#.cmd 38;5;34
0ab9d45
#.exe 38;5;34
0ab9d45
#.com 38;5;34
0ab9d45
#.btm 38;5;34
0ab9d45
#.bat 38;5;34
0ab9d45
#.sh  38;5;34
0ab9d45
#.csh 38;5;34
0363d66
 # archives or compressed (bright red)
0ab9d45
.tar 38;5;9
0ab9d45
.tgz 38;5;9
0ab9d45
.arj 38;5;9
0ab9d45
.taz 38;5;9
0ab9d45
.lzh 38;5;9
0ab9d45
.lzma 38;5;9
0ab9d45
.tlz 38;5;9
0ab9d45
.txz 38;5;9
0ab9d45
.zip 38;5;9
0ab9d45
.z   38;5;9
0ab9d45
.Z   38;5;9
0ab9d45
.dz  38;5;9
0ab9d45
.gz  38;5;9
0ab9d45
.lz  38;5;9
0ab9d45
.xz  38;5;9
0ab9d45
.bz2 38;5;9
0ab9d45
.tbz 38;5;9
0ab9d45
.tbz2 38;5;9
0ab9d45
.bz  38;5;9
0ab9d45
.tz  38;5;9
0ab9d45
.deb 38;5;9
0ab9d45
.rpm 38;5;9
0ab9d45
.jar 38;5;9
437af55
.war 38;5;9
437af55
.ear 38;5;9
437af55
.sar 38;5;9
0ab9d45
.rar 38;5;9
0ab9d45
.ace 38;5;9
0ab9d45
.zoo 38;5;9
0ab9d45
.cpio 38;5;9
0ab9d45
.7z  38;5;9
0ab9d45
.rz  38;5;9
1bc86eb
0363d66
# image formats (magenta)
0ab9d45
.jpg 38;5;13
0ab9d45
.jpeg 38;5;13
0ab9d45
.gif 38;5;13
0ab9d45
.bmp 38;5;13
0ab9d45
.pbm 38;5;13
0ab9d45
.pgm 38;5;13
0ab9d45
.ppm 38;5;13
0ab9d45
.tga 38;5;13
0ab9d45
.xbm 38;5;13
0ab9d45
.xpm 38;5;13
0ab9d45
.tif 38;5;13
0ab9d45
.tiff 38;5;13
0ab9d45
.png 38;5;13
0ab9d45
.svg 38;5;13
0ab9d45
.svgz 38;5;13
0ab9d45
.mng 38;5;13
0ab9d45
.pcx 38;5;13
0ab9d45
.mov 38;5;13
0ab9d45
.mpg 38;5;13
0ab9d45
.mpeg 38;5;13
0ab9d45
.m2v 38;5;13
0ab9d45
.mkv 38;5;13
0ab9d45
.ogm 38;5;13
0ab9d45
.mp4 38;5;13
0ab9d45
.m4v 38;5;13
0ab9d45
.mp4v 38;5;13
0ab9d45
.vob 38;5;13
0ab9d45
.qt  38;5;13
0ab9d45
.nuv 38;5;13
0ab9d45
.wmv 38;5;13
0ab9d45
.asf 38;5;13
0ab9d45
.rm  38;5;13
0ab9d45
.rmvb 38;5;13
0ab9d45
.flc 38;5;13
0ab9d45
.avi 38;5;13
0ab9d45
.fli 38;5;13
0ab9d45
.flv 38;5;13
0ab9d45
.gl 38;5;13
0ab9d45
.dl 38;5;13
0ab9d45
.xcf 38;5;13
0ab9d45
.xwd 38;5;13
0ab9d45
.yuv 38;5;13
0ab9d45
.cgm 38;5;13
0ab9d45
.emf 38;5;13
1bc86eb
c4b1fe4
# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
0ab9d45
.axv 38;5;13
0ab9d45
.anx 38;5;13
0ab9d45
.ogv 38;5;13
0ab9d45
.ogx 38;5;13
1bc86eb
0363d66
# audio formats (cyan)
0ab9d45
.aac 38;5;45
0ab9d45
.au 38;5;45
0ab9d45
.flac 38;5;45
0ab9d45
.mid 38;5;45
0ab9d45
.midi 38;5;45
0ab9d45
.mka 38;5;45
0ab9d45
.mp3 38;5;45
0ab9d45
.mpc 38;5;45
0ab9d45
.ogg 38;5;45
0ab9d45
.ra 38;5;45
0ab9d45
.wav 38;5;45
1bc86eb
c4b1fe4
# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
0ab9d45
.axa 38;5;45
0ab9d45
.oga 38;5;45
0ab9d45
.spx 38;5;45
0ab9d45
.xspf 38;5;45