Browse code

screenrc - v1.6 - Add session name to caption bar

Fred authored on17/08/2015 23:48:12
Showing1 changed files
... ...
@@ -1,8 +1,8 @@
1 1
 # Title: .screenrc
2 2
 # Author: Frédéric CHEVALIER <f15.chevalier@gmail.com>
3
-# Version: 1.5
3
+# Version: 1.6
4 4
 # Created in: 2014-08-11
5
-# Modified in: 2015-05-27
5
+# Modified in: 2015-08-17
6 6
 
7 7
 
8 8
 
... ...
@@ -10,6 +10,7 @@
10 10
 # Versions #
11 11
 #==========#
12 12
 
13
+# v1.6 - 2015-08-17: session name added to caption bar
13 14
 # v1.5 - 2015-05-27: modification of caption bar because of bad support of accentuated characters
14 15
 # v1.4 - 2015-03-01: scrollback value increased / date field modified in hardstatus due to size problem in month short name between French and English
15 16
 # v1.3 - 2014-09-30: new key binding for moving between screens when in intricate screen session
... ...
@@ -54,7 +55,7 @@ defscrollback 10000
54 55
 
55 56
 # Caption bar
56 57
 #caption always "%{kw}%3n %t%? @%u%?%? [%h]%?"
57
-caption always "%{kw}%3n %t%? @%u%?%?"
58
+caption always "%{kw}%3n %t%? @%u%?%? %= session: %S "
58 59
 
59 60
 # Hardstatus bar
60 61
 hardstatus on