From 6b3da4f032ce15fb6d8557e72b0e6611e2476e59 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 15 Oct 2012 21:02:41 +0200 Subject: [PATCH] setup.sh: Improve check for Git version of GNU screen. --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index c2a56d5..305c093 100755 --- 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 -- 2.45.2