5323954c98ca41b47f0d9d40797932d4a6cd980f AuthorMichele Bologna <michele.bologna@gmail.com>CommitterMichele Bologna <michele.bologna@gmail.com>Date2015-09-23 08:52 UTC MessageUniform git prompt equal remote Uniform git prompt equal remote to all others prompts, setting the correct symbol (if applicable) to $git_remote_status, instead of echoing it. It also solves the problem pointed out in #3911 Diff 1diff --git a/lib/git.zsh b/lib/git.zsh 2index baf86371724d01ae842bbfe6d4f8e39530caf208..15cd364a0be5d5cf676ecf54551faf27b67a3454 100644 3--- a/lib/git.zsh 4+++ b/lib/git.zsh 5@@ -38,7 +38,7 @@ git_remote_status() { 6 7 if [ $ahead -eq 0 ] && [ $behind -eq 0 ] 8 then 9- echo "$ZSH_THEME_GIT_PROMPT_EQUAL_REMOTE" 10+ git_remote_status="$ZSH_THEME_GIT_PROMPT_EQUAL_REMOTE" 11 elif [ $ahead -gt 0 ] && [ $behind -eq 0 ] 12 then 13 git_remote_status="$ZSH_THEME_GIT_PROMPT_AHEAD_REMOTE"