aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-07-18 11:06:09 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-07-18 11:06:09 +0000
commit6bc9ee3420443b0ff4b18cd00b39d66f71db676f (patch)
tree51994a6bc4b7cd353faa780a9fe7382c0a23295d /tmux.1
parent4192449112ead132943719277e7e56bcafab3d93 (diff)
downloadrtmux-6bc9ee3420443b0ff4b18cd00b39d66f71db676f.tar.gz
rtmux-6bc9ee3420443b0ff4b18cd00b39d66f71db676f.tar.bz2
rtmux-6bc9ee3420443b0ff4b18cd00b39d66f71db676f.zip
Tidy up new-session and attach-session and change them to work from inside
tmux, switching the current client to the new or requested session.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.18
1 files changed, 6 insertions, 2 deletions
diff --git a/tmux.1 b/tmux.1
index 0551fc29..c749f199 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1,4 +1,4 @@
-.\" $Id: tmux.1,v 1.119 2009-07-18 11:05:13 nicm Exp $
+.\" $Id: tmux.1,v 1.120 2009-07-18 11:06:09 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -596,7 +596,11 @@ The following commands are available:
.Op Fl t Ar target-session
.Xc
.D1 (alias: Ic attach )
-Create a new client in the current terminal and attach it to a session.
+If run from outside
+.Nm ,
+create a new client in the current terminal and attach it to
+.Ar target-session .
+If used from inside, switch the current client.
If
.Fl d
is specified, any other clients attached to the session are detached.