summaryrefslogtreecommitdiffstats
path: root/radar-base.sh
diff options
context:
space:
mode:
Diffstat (limited to 'radar-base.sh')
-rwxr-xr-xradar-base.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/radar-base.sh b/radar-base.sh
index 0dea4b5..9652fe1 100755
--- a/radar-base.sh
+++ b/radar-base.sh
@@ -546,7 +546,7 @@ render_prompt() {
fi
fi
if [[ $PROMPT_FORMAT =~ ${if_pre}branch${if_post} ]]; then
- branch_result="$(readable_branch_name | sed -e 's/\//\\\//')"
+ branch_result="$(readable_branch_name | sed -e 's/\//\\\//g')"
if [[ -n "$branch_result" ]]; then
branch_sed="s/${sed_pre}branch${sed_post}/\2${branch_result}\4/"
else