summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2012-12-04 06:45:17 -0800
committerRobby Russell <robby@planetargon.com>2012-12-04 06:45:17 -0800
commit5aed0aed4e24a6c4dd574f728f45e39907f30c5a (patch)
treee3c0b34e4aaf833b36e68e47110db101b6e0f781 /lib
parentd88fad3392e3e70b49aea01f8df768e8962d99ad (diff)
parent52733cb3bb0b1c85230c5c69e6c7231fb41c67fe (diff)
downloadzsh-5aed0aed4e24a6c4dd574f728f45e39907f30c5a.tar.gz
zsh-5aed0aed4e24a6c4dd574f728f45e39907f30c5a.tar.bz2
zsh-5aed0aed4e24a6c4dd574f728f45e39907f30c5a.zip
Merge pull request #875 from ttddyy/prompt_git-remove
prompt git-rm as deleted
Diffstat (limited to 'lib')
-rw-r--r--lib/git.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/git.zsh b/lib/git.zsh
index 52477baf6..4eaa299f2 100644
--- a/lib/git.zsh
+++ b/lib/git.zsh
@@ -80,6 +80,8 @@ git_prompt_status() {
fi
if $(echo "$INDEX" | grep '^ D ' &> /dev/null); then
STATUS="$ZSH_THEME_GIT_PROMPT_DELETED$STATUS"
+ elif $(echo "$INDEX" | grep '^D ' &> /dev/null); then
+ STATUS="$ZSH_THEME_GIT_PROMPT_DELETED$STATUS"
elif $(echo "$INDEX" | grep '^AD ' &> /dev/null); then
STATUS="$ZSH_THEME_GIT_PROMPT_DELETED$STATUS"
fi