Add -g flag to kill-session to kill all sessions in a group, GitHub

issue 5157 from github at jiku dot jp.
This commit is contained in:
nicm
2026-06-07 13:51:42 +00:00
parent 0256ee77c2
commit 343ee5ece1
2 changed files with 14 additions and 3 deletions

6
tmux.1
View File

@@ -1202,7 +1202,7 @@ Kill the
.Nm
server and clients and destroy all sessions.
.It Xo Ic kill\-session
.Op Fl aC
.Op Fl aCg
.Op Fl t Ar target\-session
.Xc
Destroy the given session, closing any windows linked to it and no other
@@ -1210,6 +1210,10 @@ sessions, and detaching all clients attached to it.
If
.Fl a
is given, all sessions but the specified one is killed.
If
.Fl g
is given and the session is in a session group, all sessions in the group are
killed.
The
.Fl C
flag clears alerts (bell, activity, or silence) in all windows linked to the