mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2024-05-11 05:55:17 +00:00 
			
		
		
		
	fix(colorize): bypass less aliases in colorize_less (#9593)
				
					
				
			This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							869eb20913
						
					
				
				
					commit
					a3bdff694a
				
			@@ -96,7 +96,7 @@ colorize_less() {
 | 
			
		||||
        # which assumes that his LESSOPEN has been executed.
 | 
			
		||||
        local LESSCLOSE=""
 | 
			
		||||
 | 
			
		||||
        LESS="$LESS" LESSOPEN="$LESSOPEN" LESSCLOSE="$LESSCLOSE" less "$@"
 | 
			
		||||
        LESS="$LESS" LESSOPEN="$LESSOPEN" LESSCLOSE="$LESSCLOSE" command less "$@"
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if [ -t 0 ]; then
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user