]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - shell/shell/dircolors.in
Move to shell/ in preparation for merge into new dotfiles repository
[config/dotfiles.git] / shell / shell / dircolors.in
diff --git a/shell/shell/dircolors.in b/shell/shell/dircolors.in
new file mode 100644 (file)
index 0000000..82bafc6
--- /dev/null
@@ -0,0 +1,93 @@
+# Color settings for GNU ls. Read by `dircolors` to write the $LS_COLORS
+# environment variable.
+
+# Copyright (C) 2013  Simon Ruderich
+#
+# This file is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This file is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this file.  If not, see <http://www.gnu.org/licenses/>.
+
+
+# See `dircolors --print-database` for possible colors.
+
+RESET 00
+# Normal files: no color.
+NORMAL 00
+
+# Regular files: normal.
+FILE 00
+# Executable files: bold red.
+EXEC 31;01
+
+# Symbolic links: cyan (other possible value: "target", color based on target
+# type).
+LINK 36
+# Orphaned symbolic links (nonexistent or not-statable): cyan with red
+# background.
+ORPHAN 36;41
+# Regular files with multiple hard links: underlined.
+MULTIHARDLINK 04
+
+# setuid and setgid files: bold red with yellow background (red because they
+# are executables).
+SETUID 31;43;01
+SETGID 31;43;01
+
+# Directories: bold blue.
+DIR 34;01
+# Directories writable by other users and not sticky: bold blue with red
+# background.
+OTHER_WRITABLE 34;41;01
+# Directories with sticky bit and writable by others: bold blue with green
+# background.
+STICKY_OTHER_WRITABLE 34;42;01
+# Directories with sticky bit and not writable by others: bold blue with
+# yellow background.
+STICKY 34;43;01
+
+# Named pipes: green.
+FIFO 32
+# Sockets: green.
+SOCK 32
+# Block devices: normal.
+BLK 00
+# Character devices: normal.
+CHR 00
+
+
+# Color important files which might be overlooked in full directories.
+#
+# `ls` can't color matching files, only matching extensions and suffixes;
+# therefore use the suffix (which is a superset of matching extensions). As
+# most filenames have no weird suffixes like "filenameNEWS", this should work
+# fine most of the time.
+#
+# *foo matches files ending with foo, .foo only files with a foo extension
+# (e.g. example.foo).
+
+# Read-me files (e.g. README, program.readme, etc.): bold magenta.
+*README     35;01
+*README.adoc 35;01
+*README.txt 35;01
+*README.md  35;01
+*README.mkd 35;01
+*readme     35;01
+# Misc files: bold magenta.
+*NEWS 35;01
+*FAQ  35;01
+*faq  35;01
+*TODO 35;01
+*todo 35;01
+# Makefiles: bold magenta.
+*Makefile 35;01
+
+# vim: ft=dircolors