diff --git a/pure.zsh b/pure.zsh index 80b010f..5520662 100644 --- a/pure.zsh +++ b/pure.zsh @@ -34,7 +34,7 @@ prompt_pure_human_time() { # fastest possible way to check if repo is dirty prompt_pure_git_dirty() { # check if we're in a git repo - [[ "$(command git rev-parse --is-inside-work-tree 2>/dev/null)" == "true" ]] || return + [[ "$(command git rev-parse --is-inside-work-tree 2>/dev/null)" == "true" ]] || return # check if it's dirty [[ "$PURE_GIT_UNTRACKED_DIRTY" == 0 ]] && local umode="-uno" || local umode="-unormal" command test -n "$(git status --porcelain --ignore-submodules ${umode})"