mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2025-11-04 13:21:19 +08:00 
			
		
		
		
	Also accept any forms of yes as an answer to the "do you want to update?" prompt
This commit is contained in:
		
							parent
							
								
									3d5b3430fd
								
							
						
					
					
						commit
						d351c76b04
					
				@ -43,7 +43,7 @@ then
 | 
			
		||||
    else
 | 
			
		||||
      echo "[Oh My Zsh] Would you like to check for updates? [Y/n]: \c"
 | 
			
		||||
      read line
 | 
			
		||||
      if [ "$line" = Y ] || [ "$line" = y ] || [ -z "$line" ]; then
 | 
			
		||||
      if [[ "$line" == Y* ]] || [[ "$line" == y* ]] || [ -z "$line" ]; then
 | 
			
		||||
        _upgrade_zsh
 | 
			
		||||
      else
 | 
			
		||||
        _update_zsh_update
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user