]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - setup.sh
setup.sh: "systemofadown" also supports 256 colors.
[config/dotfiles.git] / setup.sh
index bdd05424e89a77b119f3ab57634fc532426a17d0..94301ce42c777e733b4e537c5f63f7bc78c74bce 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -7,11 +7,12 @@
 
 # Generate ~/.less with lesskey.
 lesskey lesskey
+chmod 0600 ~/.less
 
 # As screen-256color is not widely supported use it only on machines known to
 # work.
 generate cat screenrc .in
-if [ `hostname` != asp ]; then
+if [ `hostname` != asp -a `hostname` != systemofadown ]; then
     sed 's/Enable 256 color/Disable 256 color/;
          s/screen-256color/screen/' screenrc > screenrc.tmp
     mv screenrc.tmp screenrc