From 68be12aabdb71fe083082cf24a1c1471ece7308a Mon Sep 17 00:00:00 2001 From: Eugen Dimboiu Date: Thu, 3 Nov 2016 15:41:57 +0200 Subject: [PATCH] Update git status message in parse_git_dirty() Git status message changed from "nothing to commit, working directory clean" to "nothing to commit, working tree clean" --- .bash_profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bash_profile b/.bash_profile index bea8fba..ea59a6b 100644 --- a/.bash_profile +++ b/.bash_profile @@ -82,7 +82,7 @@ export RESET # Git branch details function parse_git_dirty() { - [[ $(git status 2> /dev/null | tail -n1) != *"working directory clean"* ]] && echo "*" + [[ $(git status 2> /dev/null | tail -n1) != *"working tree clean"* ]] && echo "*" } function parse_git_branch() { git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e "s/* \(.*\)/\1$(parse_git_dirty)/"