summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--themes/mortalscumbag.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/mortalscumbag.zsh-theme b/themes/mortalscumbag.zsh-theme
index 8c7b0f5d1..d81a7ca06 100644
--- a/themes/mortalscumbag.zsh-theme
+++ b/themes/mortalscumbag.zsh-theme
@@ -10,7 +10,7 @@ function my_git_prompt() {
fi
# is branch behind?
- if $(echo "$(git log HEAD..origin/$(current_branch) 2> /dev/null)" | grep '^commit' &> /dev/null); then
+ if $(echo "$(git log HEAD..origin/$(git_current_branch) 2> /dev/null)" | grep '^commit' &> /dev/null); then
STATUS="$STATUS$ZSH_THEME_GIT_PROMPT_BEHIND"
fi