mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 06:17:04 +00:00
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.
This commit is contained in:
11
tmux.1
11
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
|
||||
|
Reference in New Issue
Block a user