Browse code

Fix MM lines being read correctly

Adam Lindberg authored on 08/06/2011 at 15:33:29
Showing 1 changed files
... ...
@@ -49,7 +49,7 @@ custom_git_prompt_status() {
49 49
   if $(echo "$INDEX" | grep '^R' &> /dev/null); then
50 50
     STATUS="$ZSH_THEME_GIT_PROMPT_STAGED_RENAMED$STATUS"
51 51
   fi
52
-  if $(echo "$INDEX" | grep '^M  ' &> /dev/null); then
52
+  if $(echo "$INDEX" | grep '^M' &> /dev/null); then
53 53
     STATUS="$ZSH_THEME_GIT_PROMPT_STAGED_MODIFIED$STATUS"
54 54
   fi
55 55
   if $(echo "$INDEX" | grep '^A' &> /dev/null); then