durr, bash 2.05b cannot match via =~
This commit is contained in:
		
							parent
							
								
									41375bbf6a
								
							
						
					
					
						commit
						9243b09f0d
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		
							
								
								
									
										6
									
								
								shellrc
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								shellrc
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -200,8 +200,10 @@ if is_zsh; then
 | 
			
		|||
	SAVEHIST=1000
 | 
			
		||||
	HISTSIZE=1000
 | 
			
		||||
	HISTFILE="${HOME}/.histfile"
 | 
			
		||||
	if [[ -z ${TMUX} && -z ${SSH_CLIENT} && ${TERM} =~ '^(rxvt-unicode|xterm)' ]]; then
 | 
			
		||||
		gruvbox-colors
 | 
			
		||||
	if [[ -z ${TMUX} && -z ${SSH_CLIENT} ]]; then
 | 
			
		||||
		if [[ ${TERM} =~ '^(rxvt-unicode|xterm)' ]]; then
 | 
			
		||||
			gruvbox-colors
 | 
			
		||||
		fi
 | 
			
		||||
	fi
 | 
			
		||||
 | 
			
		||||
	extras=( "${HOME}/.zshrc.extras" )
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue