Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix deleted in git.zsh #381

Merged
merged 1 commit into from

2 participants

@mybuddymichael

git.zsh was incorrectly parsing git-status for deleted files.

@robbyrussell robbyrussell merged commit ba0f136 into robbyrussell:master
@robbyrussell
Owner

Thanks for this!

@vguerci vguerci referenced this pull request from a commit in vguerci/oh-my-zsh
@sorin-ionescu sorin-ionescu [Fix #381] Remove the path_helper workaround 6fd0044
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 31, 2011
  1. @mybuddymichael

    Fix deleted in git.zsh

    mybuddymichael authored
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/git.zsh
View
4 lib/git.zsh
@@ -52,11 +52,11 @@ git_prompt_status() {
if $(echo "$INDEX" | grep '^R ' &> /dev/null); then
STATUS="$ZSH_THEME_GIT_PROMPT_RENAMED$STATUS"
fi
- if $(echo "$INDEX" | grep '^ D ' &> /dev/null); then
+ if $(echo "$INDEX" | grep '^D ' &> /dev/null); then
STATUS="$ZSH_THEME_GIT_PROMPT_DELETED$STATUS"
fi
if $(echo "$INDEX" | grep '^UU ' &> /dev/null); then
STATUS="$ZSH_THEME_GIT_PROMPT_UNMERGED$STATUS"
fi
echo $STATUS
-}
+}
Something went wrong with that request. Please try again.