Browse Source

fixed introduced to parse_git_dirty

Aleksey Orekhov 13 years ago
parent
commit
a9f6aed307
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/git.zsh

+ 1 - 1
lib/git.zsh

@@ -8,7 +8,7 @@ function git_prompt_info() {
 # Checks if working tree is dirty
 parse_git_dirty() {
   local SUBMODULE_SYNTAX=''
-  if [[ POST_1_7_2_GIT -gt 0 ]]; then
+  if [[ $POST_1_7_2_GIT -gt 0 ]]; then
         SUBMODULE_SYNTAX="--ignore-submodules=dirty"
   fi
   if [[ -n $(git status -s ${SUBMODULE_SYNTAX}  2> /dev/null) ]]; then