Closed pkaleta closed 5 years ago
I'm not having this problem on my machine. In fact, applying your patch on my machine creates a visual problem for me. Can you give us your .zshrc?
@pkaleta : Are you using the latest version of the oh-my-zsh and the corresponding git plugin? Or maybe some other like gitfast (which in the background is also just using the git one...).
But:
ZSH_THEME_GIT_PROMPT_SUFFIX=") %{$reset_color%}"
Should be:
ZSH_THEME_GIT_PROMPT_SUFFIX=")%{$reset_color%} "
See the spaces.
Technically, if we're considering the function git_prompt_info
from lib/git.zsh
the vars are OK.
@pkaleta Since we added a custom prompt, rather than relying on oh-my-zsh's git function, this issue may be fixed. Can you please attempt to replicate this with the new updates applied?
I'm no longer experiencing this issue. Closing.
Fix the way the git prompt is displayed. Currently, there's no closing parenthesis, after branch name:
before:
after: