aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2011-04-06 22:24:01 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2011-04-06 22:24:01 +0000
commit4e452a2e11af9bf6cb8582d141c041a72e933c01 (patch)
treee83b35f9da3bd480c83f61b9c320419c65fa4849 /tmux.1
parentae5954d30a049ff2be00061e36c72219ea60afc4 (diff)
downloadrtmux-4e452a2e11af9bf6cb8582d141c041a72e933c01.tar.gz
rtmux-4e452a2e11af9bf6cb8582d141c041a72e933c01.tar.bz2
rtmux-4e452a2e11af9bf6cb8582d141c041a72e933c01.zip
|PatchSet 882
|Date: 2011/04/05 20:37:01 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |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@.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.113
1 files changed, 12 insertions, 1 deletions
diff --git a/tmux.1 b/tmux.1
index 918e6b73..334ed3de 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1,4 +1,4 @@
-.\" $Id: tmux.1,v 1.301 2011-04-06 22:23:14 nicm Exp $
+.\" $Id: tmux.1,v 1.302 2011-04-06 22:24:01 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -566,6 +566,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