From 9b3eafc30b98d228485b9687406b1a5d2c54f5c6 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 17 Jul 2018 15:47:06 +0200 Subject: [PATCH] Revert "screenrc: Change hardstatus color when in copy mode." This reverts commit 4ec19d0e9a84b5155885e47908d7974d191f9492. I find the visual change to be too distracting. --- shell/screenrc.in | 7 ------- shell/setup.sh | 7 ------- 2 files changed, 14 deletions(-) diff --git a/shell/screenrc.in b/shell/screenrc.in index a403083..aef0016 100644 --- a/shell/screenrc.in +++ b/shell/screenrc.in @@ -1,9 +1,5 @@ # GNU screen configuration file. # -# Features which are only available in (very) recent screen releases or in -# current Git are marked with "(GIT)" so they can be removed by the setup -# script on machines with older versions. -# # (BATTERY) is only used on laptops, (ROOT) only if running as root. # Copyright (C) 2011-2013 Simon Ruderich @@ -80,9 +76,6 @@ unsetenv s setenv s "$s%{= Bw}" # - white on light blue background, also reset all # attributes (necessary so everything is displayed # correctly) -setenv s "$s%?%P" # - is copy mode enabled? (GIT) -setenv s "$s%{= wB}" # - if so change colors to light blue on white (GIT) -setenv s "$s%?" # - end if (GIT) setenv s "$s%3n" # - window number setenv s "$s " # - space setenv s "$s%t" # - window name diff --git a/shell/setup.sh b/shell/setup.sh index eec1ded..ef74ba1 100755 --- a/shell/setup.sh +++ b/shell/setup.sh @@ -167,13 +167,6 @@ if test "`id -u`" -ne 0; then echo 'screenrc: removing root options' grep_i -v '(ROOT)' screenrc fi -# I use some features of GNU screen which are only in Git or very recent GNU -# screen versions. Drop them on machines which have older versions. They are -# marked as "(GIT)". -if test ! -d "$HOME/development/shell/screen"; then - echo 'screenrc: removing Git features' - grep_i -v '(GIT)' 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 -- 2.43.2