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