summaryrefslogtreecommitdiff
path: root/12_Prompts.zsh
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@qosmos.com>2013-04-26 14:28:04 +0200
committerHugues Hiegel <hugues.hiegel@qosmos.com>2013-04-26 14:28:04 +0200
commitf78c6a10a39138e1caba25c2267d5151e5ac5f22 (patch)
treec5c5c20028606d2f96379b08c3c8094bdbe84784 /12_Prompts.zsh
parent8e7adae415cbe53d48d35751218834c2479b9f30 (diff)
[Git] debug chpwd / check tracking branch
Diffstat (limited to '12_Prompts.zsh')
-rw-r--r--12_Prompts.zsh6
1 files changed, 4 insertions, 2 deletions
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
}