Commit f09fed61 authored by Unknown-Guy's avatar Unknown-Guy Committed by Marc Cornellà
Browse files

change mortalscumbag to use core git_current_branch (#6965)

parent 7cba6bb0
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment