mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2025-11-04 13:21:19 +08:00 
			
		
		
		
	fix(theme-and-appearance): avoid infinite recursion
This commit is contained in:
		
							parent
							
								
									a24e91908a
								
							
						
					
					
						commit
						aca048814b
					
				@ -47,7 +47,7 @@ fi
 | 
			
		||||
# enable diff color if possible.
 | 
			
		||||
if command diff --color /dev/null /dev/null &>/dev/null; then
 | 
			
		||||
  function color-diff {
 | 
			
		||||
    diff --color $@
 | 
			
		||||
    command diff --color $@
 | 
			
		||||
  }
 | 
			
		||||
  alias diff="color-diff"
 | 
			
		||||
  compdef _diff color-diff # compdef is already loaded by this point
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user