From fedad8e9cfbd00a03170bd80cc82c1ba85f9ba25 Mon Sep 17 00:00:00 2001 From: Johannes Doerfert Date: Thu, 6 Mar 2014 20:39:50 +0100 Subject: [PATCH] Fix git-info added/deleted count formatting typo Signed-off-by: Sorin Ionescu --- modules/git/functions/git-info | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/git/functions/git-info b/modules/git/functions/git-info index 1c16396..bc62724 100644 --- a/modules/git/functions/git-info +++ b/modules/git/functions/git-info @@ -348,13 +348,13 @@ function git-info { # Format added. if (( added > 0 )); then zstyle -s ':prezto:module:git:info:added' format 'added_format' - zformat -f added_formatted "$added_format" "a:$added_format" + zformat -f added_formatted "$added_format" "a:$added" fi # Format deleted. if (( deleted > 0 )); then zstyle -s ':prezto:module:git:info:deleted' format 'deleted_format' - zformat -f deleted_formatted "$deleted_format" "d:$deleted_format" + zformat -f deleted_formatted "$deleted_format" "d:$deleted" fi # Format modified.