]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
setup.sh: If rxvt is installed remove a xterm "fix".
authorSimon Ruderich <simon@ruderich.org>
Sat, 13 Mar 2010 23:55:40 +0000 (00:55 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sat, 13 Mar 2010 23:55:40 +0000 (00:55 +0100)
setup.sh

index acf60e860b8f8a45ed129547ee792de5e1694e08..c6623c8e1bd3df721fc5ca01dd589d234ae982ac 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -25,6 +25,12 @@ if [ $hostname != asp ]; then
     grep -v '(GIT)' screenrc > screenrc.tmp
     mv screenrc.tmp screenrc
 fi
+# Rxvt doesn't need the attrcolor "fix". As I prefer rxvt assume I use it when
+# it's installed.
+if installed rxvt; then
+    sed 's/attrcolor b ".I"/#attrcolor b ".I"/' screenrc > screenrc.tmp
+    mv screenrc.tmp screenrc
+fi
 
 # Link setup for shells.
 link shell ~/.shell