summaryrefslogtreecommitdiff
path: root/themes/peepcode.zsh-theme
diff options
context:
space:
mode:
Diffstat (limited to 'themes/peepcode.zsh-theme')
-rw-r--r--themes/peepcode.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/peepcode.zsh-theme b/themes/peepcode.zsh-theme
index ca2a8862f..96e4f1192 100644
--- a/themes/peepcode.zsh-theme
+++ b/themes/peepcode.zsh-theme
@@ -28,7 +28,7 @@ git_dirty() {
}
git_prompt() {
- local cb=$(current_branch)
+ local cb=$(git_current_branch)
if [ -n "$cb" ]; then
local repo_path=$(git_repo_path)
echo " %{$fg_bold[grey]%}$cb %{$fg[white]%}$(git_commit_id)%{$reset_color%}$(git_mode)$(git_dirty)"