switched to git.zsh from original

This commit is contained in:
Shawn Sorichetti 2011-05-12 09:18:59 -04:00
commit db8efc9a7b

View file

@ -11,14 +11,6 @@ parse_git_dirty() {
else
echo "$ZSH_THEME_GIT_PROMPT_CLEAN"
fi
if [[ $(echo ${gitstat} | grep -c "^\(# Untracked files:\|# Changed but not updated:\)$") > 0 ]]; then
echo -n "$ZSH_THEME_GIT_PROMPT_UNTRACKED"
fi
if [[ $(echo ${gitstat} | grep -v '^$' | wc -l | tr -d ' ') == 0 ]]; then
echo -n "$ZSH_THEME_GIT_PROMPT_CLEAN"
fi
}
# Checks if there are commits ahead from remote