8eac3d1
# Configuration file for the color ls utility
8eac3d1
# This file goes in the /etc directory, and must be world readable.
8eac3d1
# You can copy this file to .dir_colors in your $HOME directory to override
8eac3d1
# the system defaults.
8eac3d1
8eac3d1
# COLOR needs one of these arguments: 'tty' colorizes output to ttys, but not
8eac3d1
# pipes. 'all' adds color characters to all output. 'none' shuts colorization
8eac3d1
# off.
8eac3d1
COLOR tty
8eac3d1
8eac3d1
# Extra command line options for ls go here.
8eac3d1
# Basically these ones are:
8eac3d1
#  -F = show '/' for dirs, '*' for executables, etc.
8eac3d1
#  -T 0 = don't trust tab spacing when formatting ls output.
8eac3d1
OPTIONS -F -T 0
8eac3d1
8eac3d1
# Below, there should be one TERM entry for each termtype that is colorizable
0363d66
TERM Eterm
0363d66
TERM ansi
0363d66
TERM color-xterm
8eac3d1
TERM con132x25
8eac3d1
TERM con132x30
8eac3d1
TERM con132x43
8eac3d1
TERM con132x60
8eac3d1
TERM con80x25
8eac3d1
TERM con80x28
8eac3d1
TERM con80x30
8eac3d1
TERM con80x43
8eac3d1
TERM con80x50
8eac3d1
TERM con80x60
8eac3d1
TERM cons25
0363d66
TERM console
0363d66
TERM cygwin
8eac3d1
TERM dtterm
7bec829
TERM eterm-color
0363d66
TERM gnome
0363d66
TERM konsole
0363d66
TERM kterm
0363d66
TERM linux
0363d66
TERM linux-c
0363d66
TERM mach-color
0363d66
TERM mlterm
0363d66
TERM putty
0363d66
TERM rxvt
0363d66
TERM rxvt-cygwin
0363d66
TERM rxvt-cygwin-native
0363d66
TERM rxvt-unicode
8eac3d1
TERM screen
7bec829
TERM screen-256color
0363d66
TERM screen-bce
0363d66
TERM screen-w
8eac3d1
TERM screen.linux
0363d66
TERM vt100
0363d66
TERM xterm
0363d66
TERM xterm-16color
0363d66
TERM xterm-256color
0363d66
TERM xterm-88color
0363d66
TERM xterm-color
0363d66
TERM xterm-debian
8eac3d1
8eac3d1
# EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output)
8eac3d1
EIGHTBIT 1
8eac3d1
8eac3d1
# Below are the color init strings for the basic file types. A color init
8eac3d1
# string consists of one or more of the following numeric codes:
8eac3d1
# Attribute codes: 
8eac3d1
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
8eac3d1
# Text color codes:
8eac3d1
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
8eac3d1
# Background color codes:
8eac3d1
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
8eac3d1
NORMAL 00	# global default, although everything should be something.
8eac3d1
FILE 00 	# normal file
8eac3d1
DIR 01;34 	# directory
0363d66
LINK 01;36 	# symbolic link (If you set this to 'target' instead of a
0363d66
		# numerical value, the color is as for the file pointed to.)
8eac3d1
FIFO 40;33	# pipe
8eac3d1
SOCK 01;35	# socket
0363d66
DOOR 01;35	# door
8eac3d1
BLK 40;33;01	# block device driver
8eac3d1
CHR 40;33;01 	# character device driver
0363d66
ORPHAN 40;31;01  # symlink to nonexistent file, or non-stat'able file
8eac3d1
MISSING 01;05;37;41 # ... and the files they point to
0363d66
SETUID 37;41	# file that is setuid (u+s)
0363d66
SETGID 30;43	# file that is setgid (g+s)
0363d66
STICKY_OTHER_WRITABLE 30;42 # dir that is sticky and other-writable (+t,o+w)
0363d66
OTHER_WRITABLE 34;42 # dir that is other-writable (o+w) and not sticky
0363d66
STICKY 37;44	# dir with the sticky bit set (+t) and not other-writable
0363d66
8eac3d1
8eac3d1
# This is for files with execute permission:
8eac3d1
EXEC 01;32 
8eac3d1
8eac3d1
# List any file extensions like '.gz' or '.tar' that you would like ls
8eac3d1
# to colorize below. Put the extension, a space, and the color init string.
8eac3d1
# (and any comments you want to add after a '#')
0363d66
# executables (bright green)
0363d66
.cmd 01;32 
8eac3d1
.exe 01;32
8eac3d1
.com 01;32
8eac3d1
.btm 01;32
8eac3d1
.bat 01;32
8eac3d1
.sh  01;32
8eac3d1
.csh 01;32
0363d66
 # archives or compressed (bright red)
0363d66
.tar 01;31 
8eac3d1
.tgz 01;31
0363d66
.svgz 01;31
8eac3d1
.arj 01;31
8eac3d1
.taz 01;31
8eac3d1
.lzh 01;31
0363d66
.lzma 01;31
8eac3d1
.zip 01;31
8eac3d1
.z   01;31
8eac3d1
.Z   01;31
0363d66
.dz  01;31
8eac3d1
.gz  01;31
8eac3d1
.bz2 01;31
0363d66
.tbz2 01;31
8eac3d1
.bz  01;31
8eac3d1
.tz  01;31
0363d66
.deb 01;31
8eac3d1
.rpm 01;31
0363d66
.jar 01;31
0363d66
.rar 01;31
0363d66
.ace 01;31
0363d66
.zoo 01;31
8eac3d1
.cpio 01;31
0363d66
.7z  01;31
0363d66
.rz  01;31
0363d66
# image formats (magenta)
0363d66
.jpg 01;35 
0363d66
.jpeg 01;35
8eac3d1
.gif 01;35
8eac3d1
.bmp 01;35
0363d66
.pbm 01;35
0363d66
.pgm 01;35
0363d66
.ppm 01;35
0363d66
.tga 01;35
8eac3d1
.xbm 01;35
8eac3d1
.xpm 01;35
8eac3d1
.tif 01;35
0363d66
.tiff 01;35
0363d66
.png 01;35
0363d66
.mng 01;35
0363d66
.pcx 01;35
0363d66
.mov 01;35
0363d66
.mpg 01;35
0363d66
.mpeg 01;35
0363d66
.m2v 01;35
0363d66
.mkv 01;35
0363d66
.ogm 01;35
0363d66
.mp4 01;35
0363d66
.m4v 01;35
0363d66
.mp4v 01;35
0363d66
.vob 01;35
0363d66
.qt  01;35
0363d66
.nuv 01;35
0363d66
.wmv 01;35
0363d66
.asf 01;35
0363d66
.rm  01;35
0363d66
.rmvb 01;35
0363d66
.flc 01;35
0363d66
.avi 01;35
0363d66
.fli 01;35
0363d66
.gl 01;35
0363d66
.dl 01;35
0363d66
.xcf 01;35
0363d66
.xwd 01;35
0363d66
.yuv 01;35
0363d66
.svg 01;35
0363d66
# audio formats (cyan)
0363d66
.aac 00;36
0363d66
.au 00;36
0363d66
.flac 00;36
0363d66
.mid 00;36
0363d66
.midi 00;36
0363d66
.mka 00;36
0363d66
.mp3 00;36
0363d66
.mpc 00;36
0363d66
.ogg 00;36
0363d66
.ra 00;36
0363d66
.wav 00;36