mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2025-11-04 21:31:19 +08:00 
			
		
		
		
	Fix bug from Pull request #395
#395 broke oh-my-zsh for users who disable check-for-updates
This commit is contained in:
		
							parent
							
								
									e8bd400bff
								
							
						
					
					
						commit
						9b4a89f327
					
				@ -1,8 +1,6 @@
 | 
			
		||||
# Check for updates on initial load...
 | 
			
		||||
if [ "$DISABLE_AUTO_UPDATE" = "true" ]
 | 
			
		||||
if [ "$DISABLE_AUTO_UPDATE" != "true" ]
 | 
			
		||||
then
 | 
			
		||||
  return
 | 
			
		||||
else
 | 
			
		||||
  /usr/bin/env zsh $ZSH/tools/check_for_upgrade.sh
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user