From e5e6b2131e795ef5b536f18e0b50d8bf90a21e4b Mon Sep 17 00:00:00 2001 From: James Dixon Date: Wed, 10 Aug 2022 04:10:47 -0400 Subject: [PATCH] remove extra parentheses --- config/zsh/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/zsh/.zshrc b/config/zsh/.zshrc index 1377324..81bb2dd 100644 --- a/config/zsh/.zshrc +++ b/config/zsh/.zshrc @@ -220,7 +220,7 @@ git_prompt() { if [ ! -z $BRANCH ]; then printf "%s" "%F{reset}%F{yellow}$BRANCH" printf "%s" "%F{reset}[" - if echo "${STATUS}" | grep -c "nothing to commit" &> /dev/null; then printf "(%s)" "%F{blue}="; fi + if echo "${STATUS}" | grep -c "nothing to commit" &> /dev/null; then printf "%s" "%F{blue}="; fi if echo "${STATUS}" | grep -c "renamed:" &> /dev/null; then printf "%s" "%F{red}%"; fi if echo "${STATUS}" | grep -c "deleted:" &> /dev/null; then printf "%s" "%F{red}-"; fi if echo "${STATUS}" | grep -c "new file:" &> /dev/null; then printf "%s" "%F{green}+"; fi