Re: Using tmux in every terminal

2014-04-06 Thread Kasza Péter
On Sun, Apr 06, 2014 at 10:34:27AM +0200, vlamy wrote: >Hi ! > >I may missunderstood your needs, but what about using the "list-panes" >command to get the current session name ? > >> tmux list-panes -F '#{session_name}' > >By instance : > >~/.zshrc : > >> zshexit()

Re: Using tmux in every terminal

2014-04-06 Thread vlamy
always detach with key bindings could also consider this instead: set -g destroy-unattached on bind d set destroy-unattached off\; detach Original message From: Kasza Péter Date: 05/04/2014 21:21 (GMT+00:00) To: tmux-users@lists.sourceforge.net Subject: Using tmux in every ter

Re: Using tmux in every terminal

2014-04-05 Thread Nicholas Marriott
ed off\; detach Original message From: Kasza Péter Date: 05/04/2014 21:21 (GMT+00:00) To: tmux-users@lists.sourceforge.net Subject: Using tmux in every terminal Dear tmux-users list! I've been experimenting with starting tmux by default in all my terminals. What I wo

Using tmux in every terminal

2014-04-05 Thread Kasza Péter
Dear tmux-users list! I've been experimenting with starting tmux by default in all my terminals. What I would like to do is to kill the session if the terminal is closed with a SIGTERM/SIGKILL, but also be able to detach from it as usual. If the terminal is closed, the shell should close the curre