diff options
author | Fredrik Appelberg <fredrik.appelberg@gmail.com> | 2011-02-25 09:59:13 +0100 |
---|---|---|
committer | Fredrik Appelberg <fredrik.appelberg@gmail.com> | 2011-02-25 09:59:13 +0100 |
commit | 0858eae3a123a512ec3049de4874c0a2a79d9fc8 (patch) | |
tree | 210466047e611414f2c7a02a88070bc622f439f5 /lib/git.zsh | |
parent | bbde258141acef4174f4e3184517af6705fd5939 (diff) | |
parent | 746a10368acd38d80cd35c2b97202a9187d58a05 (diff) | |
download | zsh-0858eae3a123a512ec3049de4874c0a2a79d9fc8.tar.gz zsh-0858eae3a123a512ec3049de4874c0a2a79d9fc8.tar.bz2 zsh-0858eae3a123a512ec3049de4874c0a2a79d9fc8.zip |
Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'lib/git.zsh')
-rw-r--r-- | lib/git.zsh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/git.zsh b/lib/git.zsh index 75fdc1f9c..8512de8a4 100644 --- a/lib/git.zsh +++ b/lib/git.zsh @@ -26,6 +26,10 @@ git_prompt_status() { fi if $(echo "$INDEX" | grep '^ M ' &> /dev/null); then STATUS="$ZSH_THEME_GIT_PROMPT_MODIFIED$STATUS" + elif $(echo "$INDEX" | grep '^AM ' &> /dev/null); then + STATUS="$ZSH_THEME_GIT_PROMPT_MODIFIED$STATUS" + elif $(echo "$INDEX" | grep '^ T ' &> /dev/null); then + STATUS="$ZSH_THEME_GIT_PROMPT_MODIFIED$STATUS" fi if $(echo "$INDEX" | grep '^R ' &> /dev/null); then STATUS="$ZSH_THEME_GIT_PROMPT_RENAMED$STATUS" |