summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2015-09-26 09:34:58 -0700
committerRobby Russell <robby@planetargon.com>2015-09-26 09:34:58 -0700
commitf186b627044444d55e1dd30244fecf3bcf09ccae (patch)
treea87519838b1b2b7ab61dd5770e234a35e25220ec /lib
parentd47219fbce7851caf6c38b8e2e2e8590adb79c8d (diff)
parent12e99b5334c547c8e8fc1bdcacc88347386eb743 (diff)
downloadzsh-f186b627044444d55e1dd30244fecf3bcf09ccae.tar.gz
zsh-f186b627044444d55e1dd30244fecf3bcf09ccae.tar.bz2
zsh-f186b627044444d55e1dd30244fecf3bcf09ccae.zip
Merge pull request #4387 from mbologna/fix_git_equal_remote
Uniform git prompt equal remote
Diffstat (limited to 'lib')
-rw-r--r--lib/git.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git.zsh b/lib/git.zsh
index baf863717..1e203c7c6 100644
--- a/lib/git.zsh
+++ b/lib/git.zsh
@@ -38,7 +38,7 @@ git_remote_status() {
if [ $ahead -eq 0 ] && [ $behind -eq 0 ]
then
- echo "$ZSH_THEME_GIT_PROMPT_EQUAL_REMOTE"
+ git_remote_status="$ZSH_THEME_GIT_PROMPT_EQUAL_REMOTE"
elif [ $ahead -gt 0 ] && [ $behind -eq 0 ]
then
git_remote_status="$ZSH_THEME_GIT_PROMPT_AHEAD_REMOTE"