summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xradar-base.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/radar-base.sh b/radar-base.sh
index 23e3dfd..4f5a483 100755
--- a/radar-base.sh
+++ b/radar-base.sh
@@ -502,8 +502,9 @@ render_prompt() {
local_sed=""
changes_sed=""
- if_pre="%{([^%{}]{1,}:){0,1}"
- if_post="(:[^%{}]{1,}){0,1}}"
+
+ if_pre="%\{([^%{}]{1,}:){0,1}"
+ if_post="(:[^%{}]{1,}){0,1}\}"
sed_pre="%{\(\([^%^{^}]*\)\:\)\{0,1\}"
sed_post="\(\:\([^%^{^}]*\)\)\{0,1\}}"