diff options
author | Unknown-Guy <Unknown-Guy@users.noreply.github.com> | 2018-07-03 18:37:18 +0300 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2018-07-03 17:37:18 +0200 |
commit | f09fed61957928605e8eccc54aaf9dac398214ed (patch) | |
tree | 3546785647536b301e05e4bed8e1c8e9efdc3191 /themes/mortalscumbag.zsh-theme | |
parent | 7cba6bb038fb699c44532992ee75e836b6576ac7 (diff) | |
download | zsh-f09fed61957928605e8eccc54aaf9dac398214ed.tar.gz zsh-f09fed61957928605e8eccc54aaf9dac398214ed.tar.bz2 zsh-f09fed61957928605e8eccc54aaf9dac398214ed.zip |
change mortalscumbag to use core git_current_branch (#6965)
Diffstat (limited to 'themes/mortalscumbag.zsh-theme')
-rw-r--r-- | themes/mortalscumbag.zsh-theme | 2 |
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 |