mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2024-05-11 05:55:17 +00:00 
			
		
		
		
	init: run update check in the same zsh process (#9019)
This commit is contained in:
		@@ -5,9 +5,7 @@ if [[ -z "$ZSH_CACHE_DIR" ]]; then
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Check for updates on initial load...
 | 
			
		||||
if [ "$DISABLE_AUTO_UPDATE" != "true" ]; then
 | 
			
		||||
  env ZSH=$ZSH ZSH_CACHE_DIR=$ZSH_CACHE_DIR DISABLE_UPDATE_PROMPT=$DISABLE_UPDATE_PROMPT zsh -f $ZSH/tools/check_for_upgrade.sh
 | 
			
		||||
fi
 | 
			
		||||
source $ZSH/tools/check_for_upgrade.sh
 | 
			
		||||
 | 
			
		||||
# Initializes Oh My Zsh
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user