diff options
author | nicm <nicm> | 2015-06-05 08:14:16 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-06-05 08:14:16 +0000 |
commit | 4219939c10980051a6d272853c96b6e1931639b1 (patch) | |
tree | b11160a396708bcad1900cadb8d5098e44c49154 /tmux.1 | |
parent | 6b2129696fbefe44d0adce1f2a11b4ae477cd07e (diff) | |
download | rtmux-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.1 | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 |