]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - shell/dircolors.in
bba92e6bfbec01467966806e5ca0c04c817b8917
[config/dotfiles.git] / 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
38 # setuid and setgid files: bold red with yellow background (red because they
39 # are executables).
40 SETUID 31;43;01
41 SETGID 31;43;01
42
43 # Directories: bold blue.
44 DIR 34;01
45 # Directories writable by other users and not sticky: bold blue with red
46 # background.
47 OTHER_WRITABLE 34;41;01
48 # Directories with sticky bit and writable by others: bold blue with green
49 # background.
50 STICKY_OTHER_WRITABLE 34;42;01
51 # Directories with sticky bit and not writable by others: bold blue with
52 # yellow background.
53 STICKY 34;43;01
54
55 # Named pipes: normal.
56 FIFO 00
57 # Sockets: normal.
58 SOCK 00
59 # Block devices: normal.
60 BLK 00
61 # Character devices: normal.
62 CHR 00
63
64
65 # Color important files which might be overlooked in full directories. `ls`
66 # can't color matching files, only matching extensions; therefore use the
67 # filename as extension. As most filenames have no weird extensions like
68 # ".README", this should work fine.
69
70 # Read-me files (e.g. README, program.readme, etc.): bold magenta.
71 *README 35;01
72 *readme 35;01
73 .README 35;01
74 .readme 35;01
75 # Misc files: bold magenta.
76 *NEWS 35;01
77 *TODO 35;01
78 *todo 35;01
79
80 # vim: ft=dircolors