mirror of
				https://github.com/akelge/vim
				synced 2025-11-03 23:14:25 +00:00 
			
		
		
		
	Add actual fancyTerm functiond definition :/
This commit is contained in:
		
							
								
								
									
										13
									
								
								zsh/zsh.d/zshfunctions/fancyTerm
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								zsh/zsh.d/zshfunctions/fancyTerm
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,13 @@
 | 
			
		||||
fancyterms=('xterm' 'rxvt' 'screen')
 | 
			
		||||
 | 
			
		||||
for t in $fancyterms; do
 | 
			
		||||
if [ "${TERM#${t}}" != "$TERM" ]; then
 | 
			
		||||
    unset fancyterms
 | 
			
		||||
    return 0
 | 
			
		||||
fi
 | 
			
		||||
done
 | 
			
		||||
 | 
			
		||||
unset fancyterms
 | 
			
		||||
return 1
 | 
			
		||||
 | 
			
		||||
#  vim: set ts=4 sw=4 tw=0 ft=zsh :
 | 
			
		||||
		Reference in New Issue
	
	Block a user