summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2013-10-10 12:07:36 +0000
committernicm <nicm>2013-10-10 12:07:36 +0000
commitb822d24b15669a0b7d325e2a2f04959b05a3d4fb (patch)
treefe5ad229e78496ecfd254e586976d889ff5edbce /tmux.1
parentfc54bfe6b0b5a9053fe967e87f55fbe684abc679 (diff)
Support -c for new-session, based on code from J Raynor.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.121
1 files changed, 16 insertions, 5 deletions
diff --git a/tmux.1 b/tmux.1
index 1f886cf7..07d6b3fe 100644
--- a/tmux.1
+++ b/tmux.1
@@ -99,7 +99,9 @@ Force
.Nm
to assume the terminal supports 256 colours.
.It Fl C
-Start in control mode.
+Start in control mode (see the
+.Sx CONTROL MODE
+section).
Given twice
.Xo ( Fl CC ) Xc
disables echo.
@@ -622,9 +624,10 @@ If it does exist, exit with 0.
Kill the
.Nm
server and clients and destroy all sessions.
-.It Ic kill-session
+.It Xo Ic kill-session
.Op Fl a
.Op Fl t Ar target-session
+.Xc
Destroy the given session, closing any windows linked to it and no other
sessions, and detaching all clients attached to it.
If
@@ -669,6 +672,7 @@ Lock all clients attached to
.Ar target-session .
.It Xo Ic new-session
.Op Fl AdDP
+.Op Fl c Ar start-directory
.Op Fl F Ar format
.Op Fl n Ar window-name
.Op Fl s Ar session-name
@@ -2708,8 +2712,8 @@ The default is on.
Control automatic window renaming.
When this setting is enabled,
.Nm
-will attempt - on supported platforms - to rename the window to reflect the
-command currently running in it.
+will rename the window automatically using the format specified by
+.Ic automatic-rename-format .
This flag is automatically disabled for an individual window when a name
is specified at creation with
.Ic new-window
@@ -2723,6 +2727,13 @@ It may be switched off globally with:
set-window-option -g automatic-rename off
.Ed
.Pp
+.It Ic automatic-rename-format Ar format
+The format (see
+.Sx FORMATS )
+used when the
+.Ic automatic-rename
+option is enabled.
+.Pp
.It Ic c0-change-interval Ar interval
.It Ic c0-change-trigger Ar trigger
These two options configure a simple form of rate limiting for a pane.
@@ -3570,7 +3581,7 @@ If the command doesn't return success, the exit status is also displayed.
.D1 (alias: Ic info )
Show server information and terminal details.
.It Xo Ic wait-for
-.Fl LSU
+.Op Fl L | S | U
.Ar channel
.Xc
.D1 (alias: Ic wait )