diff options
author | nicm <nicm> | 2019-06-14 12:04:11 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2019-06-14 16:04:52 +0100 |
commit | 0a94dbe051042cba644240ab0361319744ee4875 (patch) | |
tree | 863c82e61d3596dfdf1dd1e0a1f0ead9e00eb314 /tmux.1 | |
parent | ebc9dcb3bb71c2c8640466d84897971648a43845 (diff) | |
download | rtmux-0a94dbe051042cba644240ab0361319744ee4875.tar.gz rtmux-0a94dbe051042cba644240ab0361319744ee4875.tar.bz2 rtmux-0a94dbe051042cba644240ab0361319744ee4875.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.1 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -583,9 +583,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 |