You can use the hook_session format variable and "if -F" or give it to a shell script?
On Wed, 23 Sep 2020, 04:56 Sivaram Neelakantan, <nsivaram....@gmail.com> wrote: > On Tue, Sep 22 2020,Nicholas Marriott wrote: > > > And after-kill-session or one of the other hooks with > > display-message doesn't work? You will probably need to specify the > > session or client to display-message with -t (obviously the one you > > want to display on, not the one you are killing). > > Well, I want the message only after a specific session is closed or > killed. I don't see how the hook can check for a specific session to > trigger in the man page. > > [snipped 23 lines] > > > sivaram > -- > > -- > You received this message because you are subscribed to the Google Groups > "tmux-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to tmux-users+unsubscr...@googlegroups.com. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/tmux-users/krpqx3imc5tabh.fsf%40gmail.com > . > -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to tmux-users+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/CAEdLfcHYu%3D_d8ue%3D9FexG-GA3OTnm_gpMsTpV9juhjDsp%3DhguQ%40mail.gmail.com.