From e8a9f79cf03391fef89e226a69bd13822893fee5 Mon Sep 17 00:00:00 2001 From: Johannes Doerfert Date: Thu, 6 Mar 2014 20:39:50 +0100 Subject: [PATCH] Fixed git-info added/deleted count formating error --- 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 1c163962..bc627240 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.