... | ... |
@@ -6,7 +6,7 @@ function git_prompt_info() { |
6 | 6 |
|
7 | 7 |
# Checks if working tree is dirty |
8 | 8 |
parse_git_dirty() { |
9 |
- if [[ -n $(git status -s 2> /dev/null) ]]; then |
|
9 |
+ if [[ -n $(git status -s --ignore-submodules=dirty 2> /dev/null) ]]; then |
|
10 | 10 |
echo "$ZSH_THEME_GIT_PROMPT_DIRTY" |
11 | 11 |
else |
12 | 12 |
echo "$ZSH_THEME_GIT_PROMPT_CLEAN" |