aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2019-06-14 12:04:11 +0000
committernicm <nicm>2019-06-14 12:04:11 +0000
commit45203582ff8708042c5f4f7134ad7d4ec71d2050 (patch)
tree76c1106fbacb01e65b6fcb4436c87d8b1f4433ae /tmux.1
parentf35f15b1077eea1d16037d2b226bf7fceb58b8fa (diff)
downloadrtmux-45203582ff8708042c5f4f7134ad7d4ec71d2050.tar.gz
rtmux-45203582ff8708042c5f4f7134ad7d4ec71d2050.tar.bz2
rtmux-45203582ff8708042c5f4f7134ad7d4ec71d2050.zip
A couple of minor parser changes around conditions: 1) only treat #{
specially after a condition, otherwise as a comment (which is more as most people expect) 2) allow formats to be quoted after a condition.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.14
1 files changed, 2 insertions, 2 deletions
diff --git a/tmux.1 b/tmux.1
index e5d837da..041097b6 100644
--- a/tmux.1
+++ b/tmux.1
@@ -582,9 +582,9 @@ or
.Ql %endif .
For example:
.Bd -literal -offset indent
-%if #{==:#{host},myhost}
+%if "#{==:#{host},myhost}"
set -g status-style bg=red
-%elif #{==:#{host},myotherhost}
+%elif "#{==:#{host},myotherhost}"
set -g status-style bg=green
%else
set -g status-style bg=blue