X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=plugins%2Fgit%2Fgit.zshrc;h=4d796ef48a5590d67a8111fbbc8df5452dbff3b1;hb=2ddebb388326d38d99b04303397ecadc185ccc58;hp=2b039c2a4e24ada3e68645182ffe7583b4f50706;hpb=b8c03d4e256c4c9cdb391a4ffe245c80e7fd7907;p=ax-zsh.git diff --git a/plugins/git/git.zshrc b/plugins/git/git.zshrc index 2b039c2..4d796ef 100644 --- a/plugins/git/git.zshrc +++ b/plugins/git/git.zshrc @@ -39,7 +39,7 @@ git_prompt_behind() { git_prompt_info() { local ref=$(git symbolic-ref HEAD 2>/dev/null) || return 1 [[ -n "$ref" ]] || return 1 - echo "${ref#refs/heads/}" + echo "${ZSH_THEME_VCS_PROMPT_PREFIX}${ref#refs/heads/}${ZSH_THEME_VCS_PROMPT_SUFFIX}" } git_prompt_status() { local ref=$(git symbolic-ref HEAD 2>/dev/null) || return 1