From 282f7fbd37a3684f8444be7bca29b159d439bd88 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 22 May 2019 13:31:20 +0100 Subject: [PATCH] Add a test config. --- .../dfd579a114a8366b5a665c264e29c084.conf | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 regress/conf/dfd579a114a8366b5a665c264e29c084.conf diff --git a/regress/conf/dfd579a114a8366b5a665c264e29c084.conf b/regress/conf/dfd579a114a8366b5a665c264e29c084.conf new file mode 100644 index 00000000..7ad12c95 --- /dev/null +++ b/regress/conf/dfd579a114a8366b5a665c264e29c084.conf @@ -0,0 +1,52 @@ +set -as terminal-overrides '\e\r\n\t\u12ab\U000012ab' +set -as terminal-overrides "\e\r\n\t\u12ab\U000012ab" + +# format #{abc #{def}} +# abc + +set -g status-left \ +"\u007c \ +abc" + +%if #{TMUX} +set -g status-bg red +%endif + +X=1 +Y=2 set -g status-bg blue; Z=3 set -g status-bg magenta + +set -g status-left "~/abcdef"$HOME # abcdef + +%if #{l:1} set -g status-bg red %endif + +%if #{l:0} +X=1 +%elif #{l:1} +Y=1 +%if #{l:0} +Y=2 +%else +Y=3 +%endif +%endif + +bind x display-message \"hello\" + +bind c neww -c ~ +bind ';' lsk + +set -g status-left "a""b" +set -g status-left ~ + +set -g status-left 'a $HOME b ~ c \e\e\e' +set -g status-left "a $HOME b ~ c \e\e\e" + +set -s command-alias[99] "foo=lsk;neww" +bind-key -n C-s if-shell 'true' 'display-message hello' + +set -g status-left-style \ +bg=red +set -g status-left \\\ +abc + +set -g status-left 'xyz' ; %if #{l:1} set -g status-bg red %endif ; bind x lsk