diff --git a/.zshrc b/.zshrc index 6c0eed6..9e700c7 100644 --- a/.zshrc +++ b/.zshrc @@ -9,7 +9,7 @@ precmd() { prompt_git_branch=$(git symbolic-ref --quiet --short HEAD 2>/dev/null) if [[ -n $prompt_git_branch ]]; then - PROMPT_GIT_SEGMENT=" (${prompt_git_branch})" + PROMPT_GIT_SEGMENT=$'%{\e[2m%} ('"${prompt_git_branch}"$')%{\e[22m%}' else PROMPT_GIT_SEGMENT='' fi