use default dircolors

This commit is contained in:
Johannes Loher 2020-09-19 22:20:30 +02:00
parent de56cd23d1
commit 3596acfbb0

View file

@ -1,425 +1,195 @@
# Exact Solarized color theme for the color GNU ls utility. # Configuration file for dircolors, a utility to help you set the
# Designed for dircolors (GNU coreutils) 5.97 # LS_COLORS environment variable used by GNU ls with the --color option.
# # Copyright (C) 1996-2020 Free Software Foundation, Inc.
# This simple theme was simultaneously designed for these terminal color schemes: # Copying and distribution of this file, with or without modification,
# - Solarized dark (best) # are permitted provided the copyright notice and this notice are preserved.
# - Solarized light (best) # The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the
# - default dark # slackware version of dircolors) are recognized but ignored.
# - default light # Below are TERM entries, which can be a glob patterns, to match
# # against the TERM environment variable to determine if it is colorizable.
# How the colors were selected: TERM Eterm
# - Terminal emulators often have an option typically enabled by default that makes
# bold a different color. It is important to leave this option enabled so that
# you can access the entire 16-color Solarized palette, and not just 8 colors.
# - We favor universality over a greater number of colors. So we limit the number
# of colors so that this theme will work out of the box in all terminals,
# Solarized or not, dark or light.
# - We choose to have the following category of files:
# NORMAL & FILE, DIR, LINK, EXEC and
# editable text including source, unimportant text, binary docs & multimedia source
# files, viewable multimedia, archived/compressed, and unimportant non-text
# - For uniqueness, we stay away from the Solarized foreground colors are -- either
# base00 (brightyellow) or base0 (brighblue). However, they can be used if
# you know what the bg/fg colors of your terminal are, in order to optimize the display.
# - 3 different options are provided: universal, solarized dark, and solarized light.
# The only difference between the universal scheme and one that's optimized for
# dark/light is the color of "unimportant" files, which should blend more with the
# background
# - We note that blue is the hardest color to see on dark bg and yellow is the hardest
# color to see on light bg (with blue being particularly bad). So we choose yellow
# for multimedia files which are usually accessed in a GUI folder browser anyway.
# And blue is kept for custom use of this scheme's user.
# - See table below to see the assignments.
# Insatllation instructions:
# This file goes in the /etc directory, and must be world readable.
# You can copy this file to .dir_colors in your $HOME directory to override
# the system defaults.
# COLOR needs one of these arguments: 'tty' colorizes output to ttys, but not
# pipes. 'all' adds color characters to all output. 'none' shuts colorization
# off.
COLOR tty
# Below, there should be one TERM entry for each termtype that is colorizable
TERM ansi TERM ansi
TERM color_xterm TERM *color*
TERM color-xterm TERM con[0-9]*x[0-9]*
TERM con132x25
TERM con132x30
TERM con132x43
TERM con132x60
TERM con80x25
TERM con80x28
TERM con80x30
TERM con80x43
TERM con80x50
TERM con80x60
TERM cons25 TERM cons25
TERM console TERM console
TERM cygwin TERM cygwin
TERM dtterm TERM dtterm
TERM Eterm
TERM eterm-color
TERM gnome TERM gnome
TERM gnome-256color TERM hurd
TERM jfbterm TERM jfbterm
TERM konsole TERM konsole
TERM kterm TERM kterm
TERM linux TERM linux
TERM linux-c TERM linux-c
TERM mach-color
TERM mlterm TERM mlterm
TERM nxterm
TERM putty TERM putty
TERM rxvt TERM rxvt*
TERM rxvt-256color TERM screen*
TERM rxvt-cygwin TERM st
TERM rxvt-cygwin-native TERM terminator
TERM rxvt-unicode TERM tmux*
TERM rxvt-unicode256
TERM rxvt-unicode-256color
TERM screen
TERM screen-256color
TERM screen-256color-bce
TERM screen-bce
TERM screen.linux
TERM screen-w
TERM vt100 TERM vt100
TERM xterm TERM xterm*
TERM xterm-16color # Below are the color init strings for the basic file types.
TERM xterm-256color # One can use codes for 256 or more colors supported by modern terminals.
TERM xterm-88color # The default color codes use the capabilities of an 8 color terminal
TERM xterm-color # with some additional attributes as per the following codes:
TERM xterm-debian # Attribute codes:
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
# EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output)
EIGHTBIT 1
#############################################################################
# Below are the color init strings for the basic file types. A color init
# string consists of one or more of the following numeric codes:
#
# Attribute codes:
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
# Text color codes: # Text color codes:
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
# Background color codes: # Background color codes:
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
# #NORMAL 00 # no color code at all
# NOTES: #FILE 00 # regular file: use no color at all
# - See http://www.oreilly.com/catalog/wdnut/excerpt/color_names.html RESET 0 # reset to "normal" color
# - Color combinations DIR 01;34 # directory
# ANSI Color code Solarized Notes Universal SolDark SolLight LINK 01;36 # symbolic link. (If you set this to 'target' instead of a
# ~~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~ ~~~~~~~~~ ~~~~~~~ ~~~~~~~~ # numerical value, the color is as for the file pointed to.)
# 00 none NORMAL, FILE <SAME> <SAME> MULTIHARDLINK 00 # regular file with more than one link
# 30 black base02 FIFO 40;33 # pipe
# 01;30 bright black base03 bg of SolDark SOCK 01;35 # socket
# 31 red red docs & mm src <SAME> <SAME> DOOR 01;35 # door
# 01;31 bright red orange EXEC <SAME> <SAME> BLK 40;33;01 # block device driver
# 32 green green editable text <SAME> <SAME> CHR 40;33;01 # character device driver
# 01;32 bright green base01 unimportant text <SAME> ORPHAN 40;31;01 # symlink to nonexistent file, or non-stat'able file ...
# 33 yellow yellow unclear in light bg multimedia <SAME> <SAME> MISSING 00 # ... and the files they point to
# 01;33 bright yellow base00 fg of SolLight unimportant non-text SETUID 37;41 # file that is setuid (u+s)
# 34 blue blue unclear in dark bg user customized <SAME> <SAME> SETGID 30;43 # file that is setgid (g+s)
# 01;34 bright blue base0 fg in SolDark unimportant text CAPABILITY 30;41 # file with capability
# 35 magenta magenta LINK <SAME> <SAME> STICKY_OTHER_WRITABLE 30;42 # dir that is sticky and other-writable (+t,o+w)
# 01;35 bright magenta violet archive/compressed <SAME> <SAME> OTHER_WRITABLE 34;42 # dir that is other-writable (o+w) and not sticky
# 36 cyan cyan DIR <SAME> <SAME> STICKY 37;44 # dir with the sticky bit set (+t) and not other-writable
# 01;36 bright cyan base1 unimportant non-text <SAME> # This is for files with execute permission:
# 37 white base2 EXEC 01;32
# 01;37 bright white base3 bg in SolLight
# 05;37;41 unclear in Putty dark
### By file type
# global default
NORMAL 00
# normal file
FILE 00
# directory
DIR 36
# symbolic link
LINK 35
# pipe, socket, block device, character device (blue bg)
FIFO 30;44
SOCK 35;44
DOOR 35;44 # Solaris 2.5 and later
BLK 33;44
CHR 37;44
#############################################################################
### By file attributes
# Orphaned symlinks (blinking white on red)
# Blink may or may not work (works on iTerm dark or light, and Putty dark)
ORPHAN 05;37;41
# ... and the files that orphaned symlinks point to (blinking white on red)
MISSING 05;37;41
# files with execute permission
EXEC 01;31 # Unix
.cmd 01;31 # Win
.exe 01;31 # Win
.com 01;31 # Win
.bat 01;31 # Win
.reg 01;31 # Win
.app 01;31 # OSX
#############################################################################
### By extension
# List any file extensions like '.gz' or '.tar' that you would like ls # List any file extensions like '.gz' or '.tar' that you would like ls
# to colorize below. Put the extension, a space, and the color init string. # to colorize below. Put the extension, a space, and the color init string.
# (and any comments you want to add after a '#') # (and any comments you want to add after a '#')
# If you use DOS-style suffixes, you may want to uncomment the following:
### Text formats #.cmd 01;32 # executables (bright green)
#.exe 01;32
# Text that we can edit with a regular editor #.com 01;32
.txt 32 #.btm 01;32
.org 32 #.bat 01;32
.md 32 # Or if you want to colorize scripts even if they do not have the
.mkd 32 # executable bit actually set.
.pdc 32 #.sh 01;32
#.csh 01;32
# Source text # archives or compressed (bright red)
.h 32 .tar 01;31
.c 32 .tgz 01;31
.C 32 .arc 01;31
.cc 32 .arj 01;31
.cxx 32 .taz 01;31
.objc 32 .lha 01;31
.sh 32 .lz4 01;31
.csh 32 .lzh 01;31
.zsh 32 .lzma 01;31
.el 32 .tlz 01;31
.vim 32 .txz 01;31
.java 32 .tzo 01;31
.pl 32 .t7z 01;31
.pm 32 .zip 01;31
.py 32 .z 01;31
.rb 32 .dz 01;31
.hs 32 .gz 01;31
.php 32 .lrz 01;31
.htm 32 .lz 01;31
.html 32 .lzo 01;31
.shtml 32 .xz 01;31
.xml 32 .zst 01;31
.rdf 32 .tzst 01;31
.css 32 .bz2 01;31
.js 32 .bz 01;31
.man 32 .tbz 01;31
.0 32 .tbz2 01;31
.1 32 .tz 01;31
.2 32 .deb 01;31
.3 32 .rpm 01;31
.4 32 .jar 01;31
.5 32 .war 01;31
.6 32 .ear 01;31
.7 32 .sar 01;31
.8 32 .rar 01;31
.9 32 .alz 01;31
.l 32 .ace 01;31
.n 32 .zoo 01;31
.p 32 .cpio 01;31
.pod 32 .7z 01;31
.tex 32 .rz 01;31
.cab 01;31
### Multimedia formats .wim 01;31
.swm 01;31
# Image .dwm 01;31
.bmp 33 .esd 01;31
.cgm 33 # image formats
.dl 33 .jpg 01;35
.dvi 33 .jpeg 01;35
.emf 33 .mjpg 01;35
.eps 33 .mjpeg 01;35
.gif 33 .gif 01;35
.jpeg 33 .bmp 01;35
.jpg 33 .pbm 01;35
.JPG 33 .pgm 01;35
.mng 33 .ppm 01;35
.pbm 33 .tga 01;35
.pcx 33 .xbm 01;35
.pdf 33 .xpm 01;35
.pgm 33 .tif 01;35
.png 33 .tiff 01;35
.ppm 33 .png 01;35
.pps 33 .svg 01;35
.ppsx 33 .svgz 01;35
.ps 33 .mng 01;35
.svg 33 .pcx 01;35
.svgz 33 .mov 01;35
.tga 33 .mpg 01;35
.tif 33 .mpeg 01;35
.tiff 33 .m2v 01;35
.xbm 33 .mkv 01;35
.xcf 33 .webm 01;35
.xpm 33 .webp 01;35
.xwd 33 .ogm 01;35
.xwd 33 .mp4 01;35
.yuv 33 .m4v 01;35
.mp4v 01;35
# Audio .vob 01;35
.aac 33 .qt 01;35
.au 33 .nuv 01;35
.flac 33 .wmv 01;35
.mid 33 .asf 01;35
.midi 33 .rm 01;35
.mka 33 .rmvb 01;35
.mp3 33 .flc 01;35
.mpa 33 .avi 01;35
.mpeg 33 .fli 01;35
.mpg 33 .flv 01;35
.ogg 33 .gl 01;35
.ra 33 .dl 01;35
.wav 33 .xcf 01;35
.xwd 01;35
# Video .yuv 01;35
.anx 33 .cgm 01;35
.asf 33 .emf 01;35
.avi 33 # https://wiki.xiph.org/MIME_Types_and_File_Extensions
.axv 33 .ogv 01;35
.flc 33 .ogx 01;35
.fli 33 # audio formats
.flv 33 .aac 00;36
.gl 33 .au 00;36
.m2v 33 .flac 00;36
.m4v 33 .m4a 00;36
.mkv 33 .mid 00;36
.mov 33 .midi 00;36
.mp4 33 .mka 00;36
.mp4v 33 .mp3 00;36
.mpeg 33 .mpc 00;36
.mpg 33 .ogg 00;36
.nuv 33 .ra 00;36
.ogm 33 .wav 00;36
.ogv 33 # https://wiki.xiph.org/MIME_Types_and_File_Extensions
.ogx 33 .oga 00;36
.qt 33 .opus 00;36
.rm 33 .spx 00;36
.rmvb 33 .xspf 00;36
.swf 33
.vob 33
.wmv 33
### Misc
# Binary document formats and multimedia source
.doc 31
.docx 31
.rtf 31
.dot 31
.dotx 31
.xls 31
.xlsx 31
.ppt 31
.pptx 31
.fla 31
.psd 31
# Archives, compressed
.7z 1;35
.apk 1;35
.arj 1;35
.bin 1;35
.bz 1;35
.bz2 1;35
.cab 1;35 # Win
.deb 1;35
.dmg 1;35 # OSX
.gem 1;35
.gz 1;35
.iso 1;35
.jar 1;35
.msi 1;35 # Win
.rar 1;35
.rpm 1;35
.tar 1;35
.tbz 1;35
.tbz2 1;35
.tgz 1;35
.tx 1;35
.war 1;35
.xpi 1;35
.xz 1;35
.z 1;35
.Z 1;35
.zip 1;35
# For testing
.ANSI-30-black 30
.ANSI-01;30-brblack 01;30
.ANSI-31-red 31
.ANSI-01;31-brred 01;31
.ANSI-32-green 32
.ANSI-01;32-brgreen 01;32
.ANSI-33-yellow 33
.ANSI-01;33-bryellow 01;33
.ANSI-34-blue 34
.ANSI-01;34-brblue 01;34
.ANSI-35-magenta 35
.ANSI-01;35-brmagenta 01;35
.ANSI-36-cyan 36
.ANSI-01;36-brcyan 01;36
.ANSI-37-white 37
.ANSI-01;37-brwhite 01;37
#############################################################################
# Your customizations
# Unimportant text files
# For universal scheme, use brightgreen 01;32
# For optimal on light bg (but too prominent on dark bg), use white 01;34
.log 01;32
*~ 01;32
*# 01;32
#.log 01;34
#*~ 01;34
#*# 01;34
# Unimportant non-text files
# For universal scheme, use brightcyan 01;36
# For optimal on dark bg (but too prominent on light bg), change to 01;33
.bak 01;36
.BAK 01;36
.old 01;36
.OLD 01;36
.org_archive 01;36
.off 01;36
.OFF 01;36
.dist 01;36
.DIST 01;36
.orig 01;36
.ORIG 01;36
.swp 01;36
.swo 01;36
*,v 01;36
#.bak 01;33
#.BAK 01;33
#.old 01;33
#.OLD 01;33
#.org_archive 01;33
#.off 01;33
#.OFF 01;33
#.dist 01;33
#.DIST 01;33
#.orig 01;33
#.ORIG 01;33
#.swp 01;33
#.swo 01;33
#*,v 01;33
# The brightmagenta (Solarized: purple) color is free for you to use for your
# custom file type
.gpg 34
.gpg 34
.pgp 34
.asc 34
.3des 34
.aes 34
.enc 34