zsh: do not show parentheses around git prompt

feature/symbol-search
bretello 2021-01-09 23:53:54 +01:00
parent 651bfe01f7
commit b280360a16
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ function virtualenv_info {
function git_prompt() {
if [[ -n "$(git status 2>/dev/null)" ]]; then
local GIT_PROMPT="%F{255}($(git_prompt_info)%B%F{255}|%f%b$(git_prompt_status)$(git_remote_status)%F{255})%f"
local GIT_PROMPT=" %F{255}$(git_prompt_info)%B%F{255} |%f%b$(git_prompt_status)$(git_remote_status)"
echo "$GIT_PROMPT"
else
echo ""