Showing 1 changed files with 2 additions and 2 deletions
+2 -2
.zsh/prompt
... ...
@@ -51,14 +51,14 @@ parse_git_state() {
51 51
     fi
52 52
 
53 53
     if [[ -n $GIT_STATE ]]; then
54
-        echo "$GIT_PROMPT_PREFIX$GIT_STATE$GIT_PROMPT_SUFFIX"
54
+        echo "$GIT_STATE "
55 55
     fi
56 56
 }
57 57
 
58 58
 # If inside a Git repository, print its branch and state
59 59
 git_prompt_string() {
60 60
     local git_where="$(parse_git_branch)"
61
-    [ -n "$git_where" ] && echo "$(parse_git_state)$GIT_PROMPT_PREFIX$fg[yellow]${git_where#(refs/heads/|tags/)}$GIT_PROMPT_SUFFIX "
61
+    [ -n "$git_where" ] && echo "$GIT_PROMPT_PREFIX$(parse_git_state)$fg[yellow]${git_where#(refs/heads/|tags/)}$GIT_PROMPT_SUFFIX "
62 62
 }
63 63
 
64 64
 precmd () {