fix indent

This commit is contained in:
Sindre Sorhus
2015-01-26 21:27:03 +08:00
parent defd777d5f
commit 6178236316

View File

@@ -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})"