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()

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