f186b627044444d55e1dd30244fecf3bcf09ccae
- Author
- Robby Russell <robby@planetargon.com>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Message
Merge pull request #4387 from mbologna/fix_git_equal_remote
Uniform git prompt equal remote
Diff
1diff --git a/lib/git.zsh b/lib/git.zsh
2index baf86371724d01ae842bbfe6d4f8e39530caf208..1e203c7c61e758ecbb89be2fd3684421791018aa 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"