1

I want to start tmux so that it won't quit when last pane/window is killed. As for now I do it this way :

tmux new -d -s my_session_name

I can add a windows name as such:

tmux new -d -s my_session_name -n window_name

But it will still be killed on last windows kill. I would like to make it like permanent on this machine until somebody explicitly kills it.

Patryk
  • 13,556
  • 22
  • 53
  • 61

1 Answers1

1

I think the tmux option does what you want:

tmux set set-remain-on-exit on

Check out this U&L Q&A that asks the same question: Prevent pane/window from closing when command completes - tmux

slm
  • 363,520
  • 117
  • 767
  • 871