|
|
8eac3d1 |
# Configuration file for the color ls utility
|
|
|
5421281 |
# Synchronized with coreutils 8.5 dircolors
|
|
|
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
|
|
|
c4b1fe4 |
TERM gnome-256color
|
|
|
c4b1fe4 |
TERM jfbterm
|
|
|
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
|
|
|
5421281 |
TERM rxvt-256color
|
|
|
0363d66 |
TERM rxvt-cygwin
|
|
|
0363d66 |
TERM rxvt-cygwin-native
|
|
|
0363d66 |
TERM rxvt-unicode
|
|
|
78e0be2 |
TERM rxvt-unicode-256color
|
|
|
5421281 |
TERM rxvt-unicode256
|
|
|
8eac3d1 |
TERM screen
|
|
|
7bec829 |
TERM screen-256color
|
|
|
1bc86eb |
TERM screen-256color-bce
|
|
|
0363d66 |
TERM screen-bce
|
|
|
0363d66 |
TERM screen-w
|
|
|
78e0be2 |
TERM screen.rxvt
|
|
|
8eac3d1 |
TERM screen.linux
|
|
|
78e0be2 |
TERM terminator
|
|
|
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:
|
|
|
c4b1fe4 |
# 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
|
|
|
c4b1fe4 |
#NORMAL 00 # no color code at all
|
|
|
c4b1fe4 |
#FILE 00 # normal file, use no color at all
|
|
|
c4b1fe4 |
RESET 0 # reset to "normal" color
|
|
|
c4b1fe4 |
DIR 01;34 # directory
|
|
|
c4b1fe4 |
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.)
|
|
|
1bc86eb |
MULTIHARDLINK 00 # regular file with more than one link
|
|
|
8eac3d1 |
FIFO 40;33 # pipe
|
|
|
8eac3d1 |
SOCK 01;35 # socket
|
|
|
0363d66 |
DOOR 01;35 # door
|
|
|
8eac3d1 |
BLK 40;33;01 # block device driver
|
|
|
c4b1fe4 |
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)
|
|
|
c7a6abf |
CAPABILITY 30;41 # file with capability
|
|
|
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 |
# This is for files with execute permission:
|
|
|
c4b1fe4 |
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)
|
|
|
c4b1fe4 |
#.cmd 01;32
|
|
|
97c49fb |
#.exe 01;32
|
|
|
97c49fb |
#.com 01;32
|
|
|
97c49fb |
#.btm 01;32
|
|
|
97c49fb |
#.bat 01;32
|
|
|
97c49fb |
#.sh 01;32
|
|
|
97c49fb |
#.csh 01;32
|
|
|
0363d66 |
# archives or compressed (bright red)
|
|
|
c4b1fe4 |
.tar 01;31
|
|
|
8eac3d1 |
.tgz 01;31
|
|
|
8eac3d1 |
.arj 01;31
|
|
|
8eac3d1 |
.taz 01;31
|
|
|
8eac3d1 |
.lzh 01;31
|
|
|
0363d66 |
.lzma 01;31
|
|
|
1bc86eb |
.tlz 01;31
|
|
|
1bc86eb |
.txz 01;31
|
|
|
8eac3d1 |
.zip 01;31
|
|
|
8eac3d1 |
.z 01;31
|
|
|
8eac3d1 |
.Z 01;31
|
|
|
0363d66 |
.dz 01;31
|
|
|
8eac3d1 |
.gz 01;31
|
|
|
4c2f2aa |
.lz 01;31
|
|
|
1bc86eb |
.xz 01;31
|
|
|
8eac3d1 |
.bz2 01;31
|
|
|
1bc86eb |
.tbz 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
|
|
|
437af55 |
.war 01;31
|
|
|
437af55 |
.ear 01;31
|
|
|
437af55 |
.sar 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
|
|
|
1bc86eb |
|
|
|
0363d66 |
# image formats (magenta)
|
|
|
c4b1fe4 |
.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
|
|
|
1bc86eb |
.svg 01;35
|
|
|
1bc86eb |
.svgz 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
|
|
|
c4b1fe4 |
.flv 01;35
|
|
|
0363d66 |
.gl 01;35
|
|
|
0363d66 |
.dl 01;35
|
|
|
0363d66 |
.xcf 01;35
|
|
|
0363d66 |
.xwd 01;35
|
|
|
0363d66 |
.yuv 01;35
|
|
|
af1fb4e |
.cgm 01;35
|
|
|
af1fb4e |
.emf 01;35
|
|
|
1bc86eb |
|
|
|
c4b1fe4 |
# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
|
|
|
c4b1fe4 |
.axv 01;35
|
|
|
c4b1fe4 |
.anx 01;35
|
|
|
c4b1fe4 |
.ogv 01;35
|
|
|
c4b1fe4 |
.ogx 01;35
|
|
|
1bc86eb |
|
|
|
0363d66 |
# audio formats (cyan)
|
|
|
c4b1fe4 |
.aac 01;36
|
|
|
c4b1fe4 |
.au 01;36
|
|
|
c4b1fe4 |
.flac 01;36
|
|
|
c4b1fe4 |
.mid 01;36
|
|
|
c4b1fe4 |
.midi 01;36
|
|
|
c4b1fe4 |
.mka 01;36
|
|
|
c4b1fe4 |
.mp3 01;36
|
|
|
c4b1fe4 |
.mpc 01;36
|
|
|
c4b1fe4 |
.ogg 01;36
|
|
|
c4b1fe4 |
.ra 01;36
|
|
|
c4b1fe4 |
.wav 01;36
|
|
|
1bc86eb |
|
|
|
c4b1fe4 |
# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
|
|
|
c4b1fe4 |
.axa 01;36
|
|
|
c4b1fe4 |
.oga 01;36
|
|
|
c4b1fe4 |
.spx 01;36
|
|
|
c4b1fe4 |
.xspf 01;36
|
|
|
e734c64 |
|
|
|
e734c64 |
# colorize basic documents (brown)
|
|
|
e734c64 |
.pdf 00;33
|
|
|
e734c64 |
.ps 00;33
|
|
|
e734c64 |
.ps.gz 00;33
|
|
|
e734c64 |
.txt 00;33
|
|
|
e734c64 |
.patch 00;33
|
|
|
e734c64 |
.diff 00;33
|
|
|
e734c64 |
.log 00;33
|
|
|
e734c64 |
.tex 00;33
|
|
|
e734c64 |
.xls 00;33
|
|
|
e734c64 |
.xlsx 00;33
|
|
|
e734c64 |
.ppt 00;33
|
|
|
e734c64 |
.pptx 00;33
|
|
|
e734c64 |
.rtf 00;33
|
|
|
e734c64 |
.doc 00;33
|
|
|
e734c64 |
.docx 00;33
|
|
|
e734c64 |
.odt 00;33
|
|
|
e734c64 |
.ods 00;33
|
|
|
e734c64 |
.odp 00;33
|
|
|
e734c64 |
.xml 00;33
|
|
|
e734c64 |
.epub 00;33
|
|
|
e734c64 |
.abw 00;33
|
|
|
e734c64 |
.html 00;33
|
|
|
e734c64 |
.wpd 00;33
|