Browse code

Merge branch 'lib-git' of https://github.com/sorin-ionescu/oh-my-zsh into sorin-ionescu-lib-git

Robby Russell authored on 22/02/2011 at 05:50:36
Showing 1 changed files
... ...
@@ -26,6 +26,10 @@ git_prompt_status() {
26 26
   fi
27 27
   if $(echo "$INDEX" | grep '^ M ' &> /dev/null); then
28 28
     STATUS="$ZSH_THEME_GIT_PROMPT_MODIFIED$STATUS"
29
+  elif $(echo "$INDEX" | grep '^AM ' &> /dev/null); then
30
+    STATUS="$ZSH_THEME_GIT_PROMPT_MODIFIED$STATUS"
31
+  elif $(echo "$INDEX" | grep '^ T ' &> /dev/null); then
32
+    STATUS="$ZSH_THEME_GIT_PROMPT_MODIFIED$STATUS"
29 33
   fi
30 34
   if $(echo "$INDEX" | grep '^R  ' &> /dev/null); then
31 35
     STATUS="$ZSH_THEME_GIT_PROMPT_RENAMED$STATUS"