]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - setup.sh
setup.sh: Improve check for Git version of GNU screen.
[config/dotfiles.git] / setup.sh
index c2a56d574475118bd5a32b8545609ca3c45e9c38..305c0931124929e42416dec7ef0574f97b12c205 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -90,7 +90,7 @@ if [ x`id -u` != x0 ]; then
 fi
 # I use some features of screen which are only in Git. Drop them on machines
 # which have older versions. They are marked as "(GIT)".
-if [ $hostname != asp -o x`id -u` = x0 ]; then
+if test -d "$HOME/development/shell/screen"; then
     echo screenrc: removing Git features
     grep -v '(GIT)' screenrc > screenrc.tmp
     mv screenrc.tmp screenrc