aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2017-05-29 15:43:48 +0000
committernicm <nicm>2017-05-29 15:43:48 +0000
commit12575014995582b30165d80efa1096eee7622a81 (patch)
treec81016d0b72c852aef849caacb9756fb6bb82026 /tmux.1
parent1883d299bf853dac75cd67c012b9f074b0a4dbef (diff)
downloadrtmux-12575014995582b30165d80efa1096eee7622a81.tar.gz
rtmux-12575014995582b30165d80efa1096eee7622a81.tar.bz2
rtmux-12575014995582b30165d80efa1096eee7622a81.zip
Add m: for fnmatch(3) format matching.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.17
1 files changed, 7 insertions, 0 deletions
diff --git a/tmux.1 b/tmux.1
index 41f6057c..1ba66da4 100644
--- a/tmux.1
+++ b/tmux.1
@@ -3444,6 +3444,13 @@ if running on
.Ql myhost ,
otherwise by
.Ql 0.
+An
+.Ql m
+specifies a
+.Xr fnmatch 3
+comparison - the first argument is the pattern and the second the string to
+compare. For example,
+.Ql #{m:*foo*,#{host}} .
.Pp
A limit may be placed on the length of the resultant string by prefixing it
by an