a9f6aed307f128a58176b151bc36854c9d3899f7

Author
Aleksey Orekhov <ao2391@columbia.edu>
Committer
Aleksey Orekhov <ao2391@columbia.edu>
Date

Message

fixed introduced to parse_git_dirty

Diff

 1diff --git a/lib/git.zsh b/lib/git.zsh
 2index efaa943ff522c499937b719c205808267aa6596e..d90f0f3150d9ecd581705187f76e1d5e4c556890 100644
 3--- a/lib/git.zsh
 4+++ b/lib/git.zsh
 5@@ -8,7 +8,7 @@ function git_prompt_info() {
 6 # Checks if working tree is dirty
 7 parse_git_dirty() {
 8   local SUBMODULE_SYNTAX=''
 9-  if [[ POST_1_7_2_GIT -gt 0 ]]; then
10+  if [[ $POST_1_7_2_GIT -gt 0 ]]; then
11         SUBMODULE_SYNTAX="--ignore-submodules=dirty"
12   fi
13   if [[ -n $(git status -s ${SUBMODULE_SYNTAX}  2> /dev/null) ]]; then