| 1 |
# Configuration file for dircolors, a utility to help you set the |
|---|
| 2 |
# LS_COLORS environment variable used by GNU ls with the --color option. |
|---|
| 3 |
# |
|---|
| 4 |
# You can copy this file to .dir_colors in your $HOME directory to override |
|---|
| 5 |
# the system defaults. |
|---|
| 6 |
# |
|---|
| 7 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/files/DIR_COLORS,v 1.2 2004/05/16 04:55:38 vapier Exp $ |
|---|
| 8 |
|
|---|
| 9 |
# COLOR needs one of these arguments: 'tty' colorizes output to ttys, but not |
|---|
| 10 |
# pipes. 'all' adds color characters to all output. 'none' shuts colorization |
|---|
| 11 |
# off. |
|---|
| 12 |
COLOR tty |
|---|
| 13 |
|
|---|
| 14 |
# Extra command line options for ls go here. |
|---|
| 15 |
# Basically these ones are: |
|---|
| 16 |
# -F = show '/' for dirs, '*' for executables, etc. |
|---|
| 17 |
# -T 0 = don't trust tab spacing when formatting ls output. |
|---|
| 18 |
OPTIONS -F -T 0 |
|---|
| 19 |
|
|---|
| 20 |
# Below, there should be one TERM entry for each termtype that is colorizable |
|---|
| 21 |
TERM linux |
|---|
| 22 |
TERM linux-c |
|---|
| 23 |
TERM mach-color |
|---|
| 24 |
TERM console |
|---|
| 25 |
TERM con132x25 |
|---|
| 26 |
TERM con132x30 |
|---|
| 27 |
TERM con132x43 |
|---|
| 28 |
TERM con132x60 |
|---|
| 29 |
TERM con80x25 |
|---|
| 30 |
TERM con80x28 |
|---|
| 31 |
TERM con80x30 |
|---|
| 32 |
TERM con80x43 |
|---|
| 33 |
TERM con80x50 |
|---|
| 34 |
TERM con80x60 |
|---|
| 35 |
TERM cons25 |
|---|
| 36 |
TERM xterm |
|---|
| 37 |
TERM xterm-color |
|---|
| 38 |
TERM xterm-debian |
|---|
| 39 |
TERM color-xterm |
|---|
| 40 |
TERM color_xterm |
|---|
| 41 |
TERM rxvt |
|---|
| 42 |
TERM screen |
|---|
| 43 |
TERM screen-w |
|---|
| 44 |
TERM vt100 |
|---|
| 45 |
TERM dtterm |
|---|
| 46 |
TERM ansi |
|---|
| 47 |
TERM Eterm |
|---|
| 48 |
|
|---|
| 49 |
# EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output) |
|---|
| 50 |
EIGHTBIT 1 |
|---|
| 51 |
|
|---|
| 52 |
# Below are the color init strings for the basic file types. A color init |
|---|
| 53 |
# string consists of one or more of the following numeric codes: |
|---|
| 54 |
# Attribute codes: |
|---|
| 55 |
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed |
|---|
| 56 |
# Text color codes: |
|---|
| 57 |
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white |
|---|
| 58 |
# Background color codes: |
|---|
| 59 |
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white |
|---|
| 60 |
NORMAL 00 # global default, although everything should be something. |
|---|
| 61 |
FILE 00 # normal file |
|---|
| 62 |
DIR 34 # directory |
|---|
| 63 |
LINK 35 # symbolic link. (If you set this to 'target' instead of a |
|---|
| 64 |
# numerical value, the color is as for the file pointer to.) |
|---|
| 65 |
FIFO 40;33 # pipe |
|---|
| 66 |
SOCK 32 # socket |
|---|
| 67 |
DOOR 35 # door |
|---|
| 68 |
BLK 40;33;44 # block device driver |
|---|
| 69 |
CHR 40;33;44 # character device driver |
|---|
| 70 |
ORPHAN 05;37;41 # orphaned syminks |
|---|
| 71 |
MISSING 05;37;41 # ... and the files they point to |
|---|
| 72 |
|
|---|
| 73 |
# This is for files with execute permission: |
|---|
| 74 |
EXEC 31 |
|---|
| 75 |
|
|---|
| 76 |
# List any file extensions like '.gz' or '.tar' that you would like ls |
|---|
| 77 |
# to colorize below. Put the extension, a space, and the color init string. |
|---|
| 78 |
# (and any comments you want to add after a '#') |
|---|
| 79 |
|
|---|
| 80 |
.cmd 00 # executables (bright green) |
|---|
| 81 |
.exe 00 |
|---|
| 82 |
.com 00 |
|---|
| 83 |
.btm 00 |
|---|
| 84 |
.bat 00 |
|---|
| 85 |
.sh 00 |
|---|
| 86 |
.csh 00 |
|---|
| 87 |
|
|---|
| 88 |
.tar 00 # archives or compressed (bright red) |
|---|
| 89 |
.tgz 00 |
|---|
| 90 |
.arj 00 |
|---|
| 91 |
.taz 00 |
|---|
| 92 |
.lzh 00 |
|---|
| 93 |
.zip 00 |
|---|
| 94 |
.z 00 |
|---|
| 95 |
.Z 00 |
|---|
| 96 |
.gz 00 |
|---|
| 97 |
.bz2 00 |
|---|
| 98 |
.bz 00 |
|---|
| 99 |
.tz 00 |
|---|
| 100 |
.deb 00 |
|---|
| 101 |
.rpm 00 |
|---|
| 102 |
.rar 00 |
|---|
| 103 |
.ace 00 |
|---|
| 104 |
.zoo 00 |
|---|
| 105 |
.cpio 00 |
|---|
| 106 |
|
|---|
| 107 |
.jpg 00 # image formats |
|---|
| 108 |
.jpeg 00 |
|---|
| 109 |
.gif 00 |
|---|
| 110 |
.bmp 00 |
|---|
| 111 |
.ppm 00 |
|---|
| 112 |
.tga 00 |
|---|
| 113 |
.xbm 00 |
|---|
| 114 |
.xpm 00 |
|---|
| 115 |
.tif 00 |
|---|
| 116 |
.tiff 00 |
|---|
| 117 |
.png 00 |
|---|
| 118 |
.mng 00 |
|---|
| 119 |
.xcf 00 |
|---|
| 120 |
.pcx 00 |
|---|
| 121 |
.mpg 00 |
|---|
| 122 |
.mpeg 00 |
|---|
| 123 |
.m2v 00 # MPEG-2 Video only |
|---|
| 124 |
.avi 00 |
|---|
| 125 |
.mkv 00 # Matroska (http://matroska.org/) |
|---|
| 126 |
.ogm 00 # Ogg Media File |
|---|
| 127 |
.mp4 00 # "Offical" container for MPEG-4 |
|---|
| 128 |
.m4v 00 # MPEG-4 Video only |
|---|
| 129 |
.mp4v 00 # MPEG-4 Video only |
|---|
| 130 |
.mov 00 # Quicktime (http://developer.apple.com/qa/qtw/qtw99.html) |
|---|
| 131 |
.qt 00 # Quicktime (http://developer.apple.com/qa/qtw/qtw99.html) |
|---|
| 132 |
.wmv 00 # Windows Media Video |
|---|
| 133 |
.asf 00 # Advanced Systems Format (contains Windows Media Video) |
|---|
| 134 |
.rm 00 # Real Media |
|---|
| 135 |
.rmvb 00 # Real Media Variable Bitrate |
|---|
| 136 |
.flc 00 # AutoDesk Animator |
|---|
| 137 |
.fli 00 # AutoDesk Animator |
|---|
| 138 |
.gl 00 |
|---|
| 139 |
.dl 00 |
|---|