commit 5c74149b0a397a34fe803afa04a5b2ece247dfe9
parent 17486297d3d8b58cf29ae2d42708c055a452ac87
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 17 Dec 2018 10:27:28 +0100
Exit tmux session after newsboat quits
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/links/bin/tmux-newsboat.sh b/links/bin/tmux-newsboat.sh
@@ -18,7 +18,7 @@ then
# Create new session, name it, name the window, detach
tmux new-session -s "$SESSION" -d
- tmux send-keys -t "$SESSION" "cd ~/tmp && newsboat" C-m
+ tmux send-keys -t "$SESSION" "cd ~/tmp && newsboat; exit" C-m
tmux select-pane -t "$SESSION":1.1
fi