mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 14:27:09 +00:00
Add a flag to cmd_find_session so that attach-session can prefer
unattached sessions when choosing the most recently used (if -t is not given). Suggested by claudio@.
This commit is contained in:
11
tmux.1
11
tmux.1
@ -562,6 +562,17 @@ If no server is started,
|
||||
.Ic attach-session
|
||||
will attempt to start it; this will fail unless sessions are created in the
|
||||
configuration file.
|
||||
.Pp
|
||||
The
|
||||
.Ar target-session
|
||||
rules for
|
||||
.Ic attach-session
|
||||
are slightly adjusted: if
|
||||
.Nm
|
||||
needs to select the most recently used session, it will prefer the most
|
||||
recently used
|
||||
.Em unattached
|
||||
session.
|
||||
.It Xo Ic detach-client
|
||||
.Op Fl P
|
||||
.Op Fl t Ar target-client
|
||||
|
Reference in New Issue
Block a user