fix(af-magic): add space before git and hg information (#9396)

Closes #9396
This commit is contained in:
rutriff 2020-10-28 20:31:26 +03:00 committed by Marc Cornellà
parent 904f8685f7
commit a1ec96d125
No known key found for this signature in database
GPG Key ID: 0314585E776A9C1B

View File

@ -30,13 +30,13 @@ fi
RPS1+=" ${FG[237]}%n@%m%{$reset_color%}"
# git settings
ZSH_THEME_GIT_PROMPT_PREFIX="${FG[075]}(${FG[078]}"
ZSH_THEME_GIT_PROMPT_PREFIX=" ${FG[075]}(${FG[078]}"
ZSH_THEME_GIT_PROMPT_CLEAN=""
ZSH_THEME_GIT_PROMPT_DIRTY="${FG[214]}*%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="${FG[075]})%{$reset_color%}"
# hg settings
ZSH_THEME_HG_PROMPT_PREFIX="${FG[075]}(${FG[078]}"
ZSH_THEME_HG_PROMPT_PREFIX=" ${FG[075]}(${FG[078]}"
ZSH_THEME_HG_PROMPT_CLEAN=""
ZSH_THEME_HG_PROMPT_DIRTY="${FG[214]}*%{$reset_color%}"
ZSH_THEME_HG_PROMPT_SUFFIX="${FG[075]})%{$reset_color%}"