1 # Color settings for GNU ls. Read by `dircolors` to write the $LS_COLORS
2 # environment variable.
4 # Copyright (C) 2013 Simon Ruderich
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.
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.
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/>.
20 # See `dircolors --print-database` for possible colors.
23 # Normal files: no color.
26 # Regular files: normal.
28 # Executable files: bold red.
31 # Symbolic links: cyan (other possible value: "target", color based on target
34 # Orphaned symbolic links (nonexistent or not-statable): cyan with red
37 # Regular files with multiple hard links: underlined.
40 # setuid and setgid files: bold red with yellow background (red because they
45 # Directories: bold blue.
47 # Directories writable by other users and not sticky: bold blue with red
49 OTHER_WRITABLE 34;41;01
50 # Directories with sticky bit and writable by others: bold blue with green
52 STICKY_OTHER_WRITABLE 34;42;01
53 # Directories with sticky bit and not writable by others: bold blue with
57 # Named pipes: normal.
61 # Block devices: normal.
63 # Character devices: normal.
67 # Color important files which might be overlooked in full directories. `ls`
68 # can't color matching files, only matching extensions; therefore use the
69 # filename as extension. As most filenames have no weird extensions like
70 # ".README", this should work fine.
72 # Read-me files (e.g. README, program.readme, etc.): bold magenta.
77 # Misc files: bold magenta.