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