From 819bc9d7c9a57af67b48995ea17a1d8f63c6f58d Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 21 May 2011 12:51:15 +0200 Subject: [PATCH 1/1] zsh/rc: Actually enable the vcs_info cache. This was broken in e531d6fcc133cfa82c0849a1845e7cbeaeff5600 when introducing the cache. Git is really fast as I didn't notice it. --- zsh/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/rc b/zsh/rc index 8e3e2e0..7c833b5 100644 --- a/zsh/rc +++ b/zsh/rc @@ -209,7 +209,7 @@ if [[ $ZSH_VERSION == (4.3.<9->|4.<4->*|<5->*) || # Cache system inspired by Bart Trojanowski # (http://jukie.net/~bart/blog/pimping-out-zsh-prompt). - #zstyle ':vcs_info:*+pre-get-data:*' hooks pre-get-data + zstyle ':vcs_info:*+pre-get-data:*' hooks pre-get-data +vi-pre-get-data() { # Only Git and Mercurial support and need caching. Abort if any other # VCS is used. -- 2.44.2