]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - shell/shell/dircolors.in
82bafc6cae3e074a6dcd0060ac0904658989f888
[config/dotfiles.git] / shell / shell / dircolors.in
1 # Color settings for GNU ls. Read by `dircolors` to write the $LS_COLORS
2 # environment variable.
3
4 # Copyright (C) 2013  Simon Ruderich
5 #
6 # This file is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation, either version 3 of the License, or
9 # (at your option) any later version.
10 #
11 # This file is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with this file.  If not, see <http://www.gnu.org/licenses/>.
18
19
20 # See `dircolors --print-database` for possible colors.
21
22 RESET 00
23 # Normal files: no color.
24 NORMAL 00
25
26 # Regular files: normal.
27 FILE 00
28 # Executable files: bold red.
29 EXEC 31;01
30
31 # Symbolic links: cyan (other possible value: "target", color based on target
32 # type).
33 LINK 36
34 # Orphaned symbolic links (nonexistent or not-statable): cyan with red
35 # background.
36 ORPHAN 36;41
37 # Regular files with multiple hard links: underlined.
38 MULTIHARDLINK 04
39
40 # setuid and setgid files: bold red with yellow background (red because they
41 # are executables).
42 SETUID 31;43;01
43 SETGID 31;43;01
44
45 # Directories: bold blue.
46 DIR 34;01
47 # Directories writable by other users and not sticky: bold blue with red
48 # background.
49 OTHER_WRITABLE 34;41;01
50 # Directories with sticky bit and writable by others: bold blue with green
51 # background.
52 STICKY_OTHER_WRITABLE 34;42;01
53 # Directories with sticky bit and not writable by others: bold blue with
54 # yellow background.
55 STICKY 34;43;01
56
57 # Named pipes: green.
58 FIFO 32
59 # Sockets: green.
60 SOCK 32
61 # Block devices: normal.
62 BLK 00
63 # Character devices: normal.
64 CHR 00
65
66
67 # Color important files which might be overlooked in full directories.
68 #
69 # `ls` can't color matching files, only matching extensions and suffixes;
70 # therefore use the suffix (which is a superset of matching extensions). As
71 # most filenames have no weird suffixes like "filenameNEWS", this should work
72 # fine most of the time.
73 #
74 # *foo matches files ending with foo, .foo only files with a foo extension
75 # (e.g. example.foo).
76
77 # Read-me files (e.g. README, program.readme, etc.): bold magenta.
78 *README     35;01
79 *README.adoc 35;01
80 *README.txt 35;01
81 *README.md  35;01
82 *README.mkd 35;01
83 *readme     35;01
84 # Misc files: bold magenta.
85 *NEWS 35;01
86 *FAQ  35;01
87 *faq  35;01
88 *TODO 35;01
89 *todo 35;01
90 # Makefiles: bold magenta.
91 *Makefile 35;01
92
93 # vim: ft=dircolors