From 5d519ba526feffb08003e2c11c7230a6f2cc1d9e Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 5 Apr 2011 19:37:01 +0000 Subject: 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@. --- tmux.1 | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index 3b563b2c..7c5ea455 100644 --- a/tmux.1 +++ b/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 -- cgit