From: Simon Ruderich Date: Sat, 28 Feb 2009 17:22:29 +0000 (-0600) Subject: screen: Display hostname in the hardstatus line. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=2f50a17b6807d44889e00d446f4bb99016b9875c;p=config%2Fdotfiles.git screen: Display hostname in the hardstatus line. --- diff --git a/screenrc b/screenrc index 0b9f190..cd30812 100644 --- a/screenrc +++ b/screenrc @@ -13,6 +13,7 @@ defscrollback 10000 # Bind P to paste the buffer content, like Vim's p. bind P paste . -# Always display the status line and display the name of the window. +# Always display the status line. hardstatus on -hardstatus alwayslastline "%w" +# Display the name of the window and the current hostname. +hardstatus alwayslastline "%w%=%H"