Greetings.

On Thu, 11 Aug 2016 22:35:26 +0200 Amer <amer...@gmail.com> wrote:
> For me it started playing nicely only with wrapper to tmux, though.
> Because I didn't liked how sessions stayed alive after killing
> terminals directly through window manager.
> 
> $ st -e r.tmux
> 
> $ cat r.tmux
>   #!/bin/bash -e
>   trap "tmux kill-session -t st-$$" INT TERM EXIT
>   tmux new-session -s st-$$ "$@"

Add this to your $HOME/.tmux.conf:

        set -g destroy-unattached on


Sincerely,

Christoph Lohmann


Reply via email to