mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Add a test config.
This commit is contained in:
		
							
								
								
									
										52
									
								
								regress/conf/dfd579a114a8366b5a665c264e29c084.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										52
									
								
								regress/conf/dfd579a114a8366b5a665c264e29c084.conf
									
									
									
									
									
										Normal file
									
								
							@@ -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
 | 
			
		||||
		Reference in New Issue
	
	Block a user