From f78c6a10a39138e1caba25c2267d5151e5ac5f22 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Fri, 26 Apr 2013 14:28:04 +0200 Subject: [Git] debug chpwd / check tracking branch --- 12_Prompts.zsh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '12_Prompts.zsh') diff --git a/12_Prompts.zsh b/12_Prompts.zsh index c947d6a..f5ec34f 100644 --- a/12_Prompts.zsh +++ b/12_Prompts.zsh @@ -43,8 +43,10 @@ chpwd() if ( __cmd_exists git && test -d .git ) then - # Shows tracked branches and modified files - git status | sed -n '2{/# Your branch/p};3q' + __debug -n " GIT check..." + # Shows tracked branches and modified files + git status | sed -n '2{/# Your branch/p;q}' + __debug fi } -- cgit v1.2.3