]> git.alrj.org Git - zsh.d.git/blobdiff - S60_git
Don't show the last git repo as pwd.
[zsh.d.git] / S60_git
diff --git a/S60_git b/S60_git
index 256afc8c08ec9951e9cb3c1abfd52ad442937ea2..78c163c7b8d9d48a3e70dc32501186a134163595 100644 (file)
--- 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=""
 }