X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=screenrc.in;h=bc2e86e6757b42d011412e66bbf40dc49db78dce;hb=999fc26e13aeeda70490451c3a077bd134b34546;hp=942893b31de0636e7d06403a0d9eb70c176d87af;hpb=cbf986e1ecf98be32164ee3e48515dcac072af09;p=config%2Fdotfiles.git diff --git a/screenrc.in b/screenrc.in index 942893b..bc2e86e 100644 --- a/screenrc.in +++ b/screenrc.in @@ -1,4 +1,8 @@ # 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. # Don't display startup message. @@ -13,6 +17,9 @@ defscrollback 10000 # Ignore case when searching. ignorecase on +# I prefer zsh as my shell. +shell zsh + # TERMINAL @@ -40,6 +47,9 @@ 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