summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2019-06-21 07:11:02 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2019-06-21 07:11:02 +0000
commitb5c913a5f74a338aae2cda0b5baf3d7b4b2ea901 (patch)
tree2da2f63a6092f17d60d7d9f0970d4e4635f45371
parent36da0bea2fba7cfaa4c7a0a6604aee1837cc2d7e (diff)
Man page fixes from lacygoill at lacygoill dot me.
-rw-r--r--usr.bin/tmux/tmux.124
1 files changed, 15 insertions, 9 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1
index 98ef3e0db5b..894dad2a032 100644
--- a/usr.bin/tmux/tmux.1
+++ b/usr.bin/tmux/tmux.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmux.1,v 1.670 2019/06/20 20:31:04 nicm Exp $
+.\" $OpenBSD: tmux.1,v 1.671 2019/06/21 07:11:01 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
.\"
@@ -14,7 +14,7 @@
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: June 20 2019 $
+.Dd $Mdocdate: June 21 2019 $
.Dt TMUX 1
.Os
.Sh NAME
@@ -456,7 +456,7 @@ Will execute
.Ic if-shell ,
the shell command
.Xr true 1 ,
-.Ic new-window
+.Ic split-window
and
.Ic kill-session
in that order.
@@ -470,7 +470,7 @@ commands and their arguments.
This section describes the syntax of commands parsed by
.Nm ,
for example in a configuration file or at the command prompt.
-Note the when commands are entered into the shell, they are parsed by the shell
+Note that when commands are entered into the shell, they are parsed by the shell
- see for example
.Xr ksh 1
or
@@ -2333,9 +2333,7 @@ spreads the current pane and any panes next to it out evenly.
Make pane
.Ar target-pane
the active pane in window
-.Ar target-window ,
-or set its style (with
-.Fl P ) .
+.Ar target-window.
If one of
.Fl D ,
.Fl L ,
@@ -4065,7 +4063,7 @@ will expand the format twice, for example
.Ql #{E:status-left}
is the result of expanding the content of the
.Ic status-left
-option rather than the content itself.
+option rather than the option itself.
.Ql T:
is like
.Ql E:
@@ -4101,7 +4099,7 @@ would change
into
.Ql bxBxbx .
.Pp
-In addition, the first line of a shell command's output may be inserted using
+In addition, the last line of a shell command's output may be inserted using
.Ql #() .
For example,
.Ql #(uptime)
@@ -4120,6 +4118,14 @@ global environment set (see the
.Sx GLOBAL AND SESSION ENVIRONMENT
section).
.Pp
+An
+.Ql l
+specifies that a string should be interpreted literally and not expanded.
+For example
+.Ql #{l:#{?pane_in_mode,yes,no}}
+will be replaced by
+.Ql #{?pane_in_mode,yes,no} .
+.Pp
The following variables are available, where appropriate:
.Bl -column "XXXXXXXXXXXXXXXXXXX" "XXXXX"
.It Sy "Variable name" Ta Sy "Alias" Ta Sy "Replaced with"