From: Simon Ruderich Date: Tue, 7 May 2013 19:34:54 +0000 (+0200) Subject: setup.sh: Add "Do not edit" warning to generated shell/dircolors. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=cbb473fce8658982db53b10a5bcd98510d3b8ec9;p=config%2Fdotfiles.git setup.sh: Add "Do not edit" warning to generated shell/dircolors. --- diff --git a/setup.sh b/setup.sh index b1b14de..adc2ce6 100755 --- a/setup.sh +++ b/setup.sh @@ -66,7 +66,8 @@ chmod 0600 ~/.less # Custom colors for GNU ls. if installed dircolors; then - dircolors -b shell/dircolors.in > shell/dircolors + echo '# WARNING! DO NOT EDIT THIS FILE!' > shell/dircolors + dircolors -b shell/dircolors.in >> shell/dircolors fi # Find the required options to get colored ls output. GNU ls is preferred. See