From 74fb6b46bb581813efb4d55a5b770ba3ca0218f5 Mon Sep 17 00:00:00 2001
From: Michael Allen <michael@michaelallen.io>
Date: Thu, 15 Oct 2015 11:25:47 +0100
Subject: Support git-flow style branches by @slackorama

---
 radar-base.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
cgit v1.2.3