summaryrefslogtreecommitdiffstats
path: root/radar-base.sh
diff options
context:
space:
mode:
authorMichael Allen <michael@michaelallen.io>2015-08-30 19:22:50 +0100
committerMichael Allen <michael@michaelallen.io>2015-08-30 19:35:12 +0100
commite388db84ee99641a0260767ccdd4c889b7ca4f7d (patch)
tree0e53caaf987fc50c1a6e570e8450f03fa442675a /radar-base.sh
parentc2dbe6f579bac9b40482970287e6a58783994257 (diff)
downloadgit-sonar-e388db84ee99641a0260767ccdd4c889b7ca4f7d.tar.gz
git-sonar-e388db84ee99641a0260767ccdd4c889b7ca4f7d.zip
Test zsh remote commit colors
Diffstat (limited to '')
-rwxr-xr-xradar-base.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/radar-base.sh b/radar-base.sh
index 63a18c9..541b5e7 100755
--- a/radar-base.sh
+++ b/radar-base.sh
@@ -477,10 +477,10 @@ bash_color_remote_commits() {
zsh_color_remote_commits() {
local remote_master="$(printf '\xF0\x9D\x98\xAE')" # an italic m to represent master
- local green_ahead_arrow="$COLOR_REMOTE_AHEAD←$RESET_COLOR_REMOTE"
- local red_behind_arrow="$COLOR_REMOTE_BEHIND→$RESET_COLOR_REMOTE"
- local yellow_diverged_arrow="$COLOR_REMOTE_DIVERGED⇄$RESET_COLOR_REMOTE"
- local not_upstream="$COLOR_REMOTE_NOT_UPSTREAM⚡$RESET_COLOR_REMOTE"
+ local green_ahead_arrow="${COLOR_REMOTE_AHEAD}←$RESET_COLOR_REMOTE"
+ local red_behind_arrow="${COLOR_REMOTE_BEHIND}→$RESET_COLOR_REMOTE"
+ local yellow_diverged_arrow="${COLOR_REMOTE_DIVERGED}⇄$RESET_COLOR_REMOTE"
+ local not_upstream="${COLOR_REMOTE_NOT_UPSTREAM}⚡$RESET_COLOR_REMOTE"
if remote_branch="$(remote_branch_name)"; then
remote_ahead="$(remote_ahead_of_master "$remote_branch")"