From 409b4e51acd01bc92c5063ee526a550279a70c87 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Thu, 22 Aug 2019 09:58:10 +0200 Subject: [PATCH] Ensure to keep panes running after programs exists --- splitHP | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/splitHP b/splitHP index 22743cf..7c80b58 100644 --- a/splitHP +++ b/splitHP @@ -6,14 +6,15 @@ # -tX:Y : modifier les paramètres de la fenêtre Y de la session X. !Attention # la fenêtre doit exister avant de pouvoir modifier ses paramètres! # monitor-activity : permet de mettre en avant une fenêtre quand son contenu reçoit un événement +# 'exec ${SHELL}' : Allow to keep the pane running after the program exists # New session with first window in ~ -new -A -stoto -nmail 'mutt' -splitw -h -p 50 -t 1 'sudo aptitude update ; sudo aptitude full-upgrade' +new -A -stoto -nmail 'mutt ; exec ${SHELL}' +splitw -h -p 50 -t 1 'sudo aptitude update ; sudo aptitude full-upgrade ; exec ${SHELL}' # New window toto:1 with htop (refresh every minute) -neww -d -nht0p 'exec htop -d 600' +neww -d -nht0p 'exec htop -d 600 ; exec ${SHELL}' # New window toto:2 for remote weechat -neww -d -nw33 -c 'weechat' +neww -d -nw33 -c 'weechat ; exec ${SHELL}' # New window toto:3 for git repositories neww -d -ngit -c '/home/jegardai/repos'