Either set remain-on-exit in tmux or set ignoreeof in your shell (if it is sh compatible).
On Thu, Oct 06, 2011 at 08:04:43AM -0400, Rita wrote: > I have a habit of pressing ctrl+d to logout of a bash shell but if I press > it too many times it eventually closes my tmux session. I typically have > over 30 windows with atleast 3 panes. *I don want to lose my work :p > Is there a way I can avoid this? > -- > --- Get your facts first, then you can distort them as you please.-- > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users