summaryrefslogtreecommitdiffstats
path: root/radar-base.sh
diff options
context:
space:
mode:
authorMichael Allen <michael@michaelallen.io>2015-08-19 12:34:09 +0100
committerMichael Allen <michael@michaelallen.io>2015-08-19 12:34:09 +0100
commit685a5471d2dc7209e16df5654ba8b05f401526ab (patch)
treefe775203db47aa7c1153e902e2056c178286885b /radar-base.sh
parent7d0e68ab04da8580cbf5617ff4491378f84befe0 (diff)
downloadgit-sonar-685a5471d2dc7209e16df5654ba8b05f401526ab.tar.gz
git-sonar-685a5471d2dc7209e16df5654ba8b05f401526ab.zip
Ensure the control characters get evaluated
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 0fee704..787d7a5 100755
--- a/radar-base.sh
+++ b/radar-base.sh
@@ -446,7 +446,7 @@ bash_color_remote_commits() {
}
zsh_color_remote_commits() {
- local remote_master="\xF0\x9D\x98\xAE" # an italic m to represent master
+ local remote_master="$(printf '\xF0\x9D\x98\xAE')" # an italic m to represent master
local green_ahead_arrow="%{$fg_bold[green]%}←%{$reset_color%}"
local red_behind_arrow="%{$fg_bold[red]%}→%{$reset_color%}"
local yellow_diverged_arrow="%{$fg_bold[yellow]%}⇄%{$reset_color%}"