mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2024-05-11 05:55:17 +00:00 
			
		
		
		
	Fix MM lines being read correctly
This commit is contained in:
		@@ -49,7 +49,7 @@ custom_git_prompt_status() {
 | 
			
		||||
  if $(echo "$INDEX" | grep '^R' &> /dev/null); then
 | 
			
		||||
    STATUS="$ZSH_THEME_GIT_PROMPT_STAGED_RENAMED$STATUS"
 | 
			
		||||
  fi
 | 
			
		||||
  if $(echo "$INDEX" | grep '^M  ' &> /dev/null); then
 | 
			
		||||
  if $(echo "$INDEX" | grep '^M' &> /dev/null); then
 | 
			
		||||
    STATUS="$ZSH_THEME_GIT_PROMPT_STAGED_MODIFIED$STATUS"
 | 
			
		||||
  fi
 | 
			
		||||
  if $(echo "$INDEX" | grep '^A' &> /dev/null); then
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user