From: Simon Ruderich Date: Mon, 15 Oct 2012 19:02:41 +0000 (+0200) Subject: setup.sh: Improve check for Git version of GNU screen. X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=6b3da4f032ce15fb6d8557e72b0e6611e2476e59 setup.sh: Improve check for Git version of GNU screen. --- 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