Commit d615f643 authored by Felipe Contreras's avatar Felipe Contreras
Browse files

git: fix parse_git_dirty()



If oh-my-zsh.hide-status is configured, the 'clean' code won't be
generated, and some themes might end up distorted. Let's generate the
'clean' code even when we don't want the show the dirty status.
Signed-off-by: default avatarFelipe Contreras <felipe.contreras@gmail.com>
parent 85426a57
......@@ -21,6 +21,8 @@ parse_git_dirty() {
else
echo "$ZSH_THEME_GIT_PROMPT_CLEAN"
fi
else
echo "$ZSH_THEME_GIT_PROMPT_CLEAN"
fi
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment