]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - setup.sh
shell/dircolors: $LS_COLORS settings in more readable form.
[config/dotfiles.git] / setup.sh
index 538663d3cee39a13af4eba7e818bd2ee93ea3d22..1be636c42c91e50bc47ec3d08cfc832fca567259 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -64,6 +64,11 @@ perl < lesskey \
     | lesskey -
 chmod 0600 ~/.less
 
+# Custom colors for GNU ls.
+if installed dircolors; then
+    dircolors -b shell/dircolors.in > shell/dircolors
+fi
+
 # Find the required options to get colored ls output. GNU ls is preferred. See
 # shell/aliases.in for details. Doing this here instead of in shell/aliases
 # speeds up shell starts.