From d5fa159d3b0bcf2e4c2dc3b812dea053d2e61929 Mon Sep 17 00:00:00 2001 From: Amand Tihon Date: Mon, 9 May 2011 09:51:06 +0200 Subject: [PATCH] Don't show the last git repo as pwd. Git basedir must be cleared, or it will "stick" when the repository is exited. The prompt would then contain the wrong pwd. --- S60_git | 1 + 1 file changed, 1 insertion(+) diff --git a/S60_git b/S60_git index 256afc8..78c163c 100644 --- a/S60_git +++ b/S60_git @@ -14,6 +14,7 @@ __ZSH_GIT_STATUS_INVALID=1 git_chpwd() { # On cd, invalidate git status in prompt __ZSH_GIT_VARS_INVALID=1 + __ZSH_GIT_BASEDIR="" } -- 2.39.5