aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2015-06-05 08:14:16 +0000
committernicm <nicm>2015-06-05 08:14:16 +0000
commit4219939c10980051a6d272853c96b6e1931639b1 (patch)
treeb11160a396708bcad1900cadb8d5098e44c49154 /tmux.1
parent6b2129696fbefe44d0adce1f2a11b4ae477cd07e (diff)
downloadrtmux-4219939c10980051a6d272853c96b6e1931639b1.tar.gz
rtmux-4219939c10980051a6d272853c96b6e1931639b1.tar.bz2
rtmux-4219939c10980051a6d272853c96b6e1931639b1.zip
Make it so that if a window or session target is prefixed with an =,
only an exact name or index match is accepted, no special character, prefix match, or fnmatch.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.111
1 files changed, 11 insertions, 0 deletions
diff --git a/tmux.1 b/tmux.1
index fbf0e180..7ad33530 100644
--- a/tmux.1
+++ b/tmux.1
@@ -404,6 +404,14 @@ An
pattern which is matched against the session name.
.El
.Pp
+If the session name is prefixed with a
+.Ql = : ,
+only an exact match is accepted (so
+.Ql =mysess
+will only match exactly
+.Ql mysess ,
+not
+.Ql mysession ) .
If a single session is found, it is used as the target session; multiple matches
produce an error.
If a session is omitted, the current session is used if available; if no
@@ -440,6 +448,9 @@ As an
pattern matched against the window name.
.El
.Pp
+Like sessions, a
+.Ql =
+prefix will do an exact match only.
An empty window name specifies the next unused index if appropriate (for
example the
.Ic new-window