diff options
-rwxr-xr-x | radar-base.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/radar-base.sh b/radar-base.sh index 4f5a483..258e5b1 100755 --- a/radar-base.sh +++ b/radar-base.sh @@ -517,7 +517,7 @@ render_prompt() { fi fi if [[ $PROMPT_FORMAT =~ ${if_pre}branch${if_post} ]]; then - branch_result="$(readable_branch_name)" + branch_result="$(readable_branch_name | sed -e 's/\//\\\//')" if [[ -n "$branch_result" ]]; then branch_sed="s/${sed_pre}branch${sed_post}/\2${branch_result}\4/" else |