fix(svn-fast-info): quote % characters in svn branch name

This commit is contained in:
Marc Cornellà 2021-12-16 10:09:05 +01:00
parent ef3a85cd42
commit 75ed59b7c0
No known key found for this signature in database
GPG key ID: 0314585E776A9C1B

View file

@ -20,7 +20,7 @@ function svn_prompt_info() {
"$ZSH_PROMPT_BASE_COLOR" \ "$ZSH_PROMPT_BASE_COLOR" \
\ \
"$ZSH_THEME_BRANCH_NAME_COLOR" \ "$ZSH_THEME_BRANCH_NAME_COLOR" \
"$(svn_current_branch_name $info)" \ "${$(svn_current_branch_name $info):gs/%/%%}" \
"$ZSH_PROMPT_BASE_COLOR" \ "$ZSH_PROMPT_BASE_COLOR" \
\ \
"$(svn_current_revision $info)" \ "$(svn_current_revision $info)" \