Merge branch 'master' of github.com:sjl/oh-my-zsh

This commit is contained in:
Steve Losh 2011-08-19 09:26:46 -04:00
commit b4cf42efe4

View file

@ -11,7 +11,7 @@ parse_git_dirty () {
echo -n "$ZSH_THEME_GIT_PROMPT_DIRTY"
fi
if [[ $(echo ${gitstat} | grep -c "^\(# Untracked files:\|# Changed but not updated:\)$") > 0 ]]; then
if [[ $(echo ${gitstat} | grep -c "^\(# Untracked files:\|# Changed but not updated:\|# Changes not staged for commit:\)$") > 0 ]]; then
echo -n "$ZSH_THEME_GIT_PROMPT_UNTRACKED"
fi