From 8d7341ace23893094568458ec97884bef7f48ac0 Mon Sep 17 00:00:00 2001 From: Hyacinthe Cartiaux Date: Thu, 7 Apr 2016 00:28:25 +0200 Subject: [PATCH] [screen] Each new shell should be a login shell --- screen/screenrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/screen/screenrc b/screen/screenrc index 63e3540..f35a870 100644 --- a/screen/screenrc +++ b/screen/screenrc @@ -19,11 +19,12 @@ vbell off # keep scrollback n lines defscrollback 1000 -shelltitle "$ |bash" +# Each new shell should be a login shell (always source .bashrc) +shell -$SHELL +shelltitle "$ |bash:" # THIS IS THE PRETTY BIT #change the hardstatus settings to give an window list at the bottom of the ##screen, with the time and date and with the current window highlighted hardstatus alwayslastline -#hardstatus string '%{= mK}%-Lw%{= KW}%50>%n%f* %t%{= mK}%+Lw%< %{= kG}%-=%D %d %M %Y %c:%s%{-}' hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]'