tmux always exits whole session when any pane or window closes
by Turbocapitalist from LinuxQuestions.org on (#5R43Q)
No matter what, tmux exits an active session completely any time I kill a window or even an individual pane. I want the session to stick around while there are other windows still active until I finally close the last window. In other words, I'd like it to go back to its default behavior in that regard.
Currently, the configuration file .tmux.conf shows this, and only this:
Code:set-option -g destroy-unattached off
set-option -g remain-on-exit onI had tmux set up to exit when a window or pane closed with something like this:
Code:set-option -g destroy-unattached onOr else, I had a hook set. Either way, it has been removed and neither is in .tmux.conf and the system has since been rebooted. Yet the destroy-unattached behavior persists.
Both of these show nothing:
Code:tmux show-hooks -g
tmux show-hooksWhat have I missed? Is there some other file besides .tmux.conf which needs to be edited?
Currently, the configuration file .tmux.conf shows this, and only this:
Code:set-option -g destroy-unattached off
set-option -g remain-on-exit onI had tmux set up to exit when a window or pane closed with something like this:
Code:set-option -g destroy-unattached onOr else, I had a hook set. Either way, it has been removed and neither is in .tmux.conf and the system has since been rebooted. Yet the destroy-unattached behavior persists.
Both of these show nothing:
Code:tmux show-hooks -g
tmux show-hooksWhat have I missed? Is there some other file besides .tmux.conf which needs to be edited?