diff options
author | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2013-04-26 14:28:04 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2013-04-26 14:28:04 +0200 |
commit | f78c6a10a39138e1caba25c2267d5151e5ac5f22 (patch) | |
tree | c5c5c20028606d2f96379b08c3c8094bdbe84784 | |
parent | 8e7adae415cbe53d48d35751218834c2479b9f30 (diff) |
[Git] debug chpwd / check tracking branch
-rw-r--r-- | 12_Prompts.zsh | 6 |
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 } |