Hi I'd probably go for -g with a group name. If -t is there as well you can either make it an error or only kill the group if the given session is in it.
On Fri, 3 Sep 2021, 19:00 Jake Grossman, <[email protected]> wrote: > I was tinkering trying to implement one of the suggested features from > https://github.com/tmux/tmux/issues/2346. First off, is anyone already > doing this? Don't want to duplicate work! > > Should it be a flag for the target, or it's own target (i.e. kill-session > -g -t foo vs kill-session -g foo)? Which would be preferable? > > Thanks, > Jake > > -- > 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 [email protected]. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/tmux-users/CAMaYsBciVDpy85NCByzeejrHvJ0gAjLPp%2BMoOWfTv8WvaXa7tQ%40mail.gmail.com > <https://groups.google.com/d/msgid/tmux-users/CAMaYsBciVDpy85NCByzeejrHvJ0gAjLPp%2BMoOWfTv8WvaXa7tQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/CAEdLfcFjj8KJ9nmr6OObQg6khNwdsmXVZY%2Bq_1_hbQt%2BF1b%3D6Q%40mail.gmail.com.
