From fbb17f1f0056faad1e8f08102f4bc53c30ddb913 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 30 Jul 2020 16:21:32 +0100 Subject: [PATCH] git: Tweak prompt colours --- tag-zsh/zsh/configs/prompt.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tag-zsh/zsh/configs/prompt.zsh b/tag-zsh/zsh/configs/prompt.zsh index 40fe946..2c343e0 100644 --- a/tag-zsh/zsh/configs/prompt.zsh +++ b/tag-zsh/zsh/configs/prompt.zsh @@ -26,7 +26,7 @@ git_prompt_info() { suffix='' if [[ ! -z ${current_commit} ]]; then - suffix="${suffix} %{$fg_bold[yellow]%}[${current_commit}]%{$reset_color%}" + suffix="${suffix} [%{$fg_bold[yellow]%}${current_commit}%{$reset_color%}]" fi if git_repo_is_dirty; then @@ -34,7 +34,7 @@ git_prompt_info() { fi if [[ -n git_current_branch ]]; then - echo " %{$fg_bold[green]%}${current_branch}${suffix}%{$reset_color%}" + echo " %{$fg_bold[green]%}${current_branch}%{$reset_color%}${suffix}" fi }