diff options
author | Michael Allen <michael@michaelallen.io> | 2015-09-17 14:21:38 +0100 |
---|---|---|
committer | Michael Allen <michael@michaelallen.io> | 2015-09-17 14:21:38 +0100 |
commit | 1d713f471fd77a49bc783ba0b313ebce9de223a5 (patch) | |
tree | cd916471a67feb3b990f01dec6812ce764248231 /radar-base.sh | |
parent | eabe1d7e855817714a9e06b59ff468951413f6c6 (diff) | |
download | git-sonar-1d713f471fd77a49bc783ba0b313ebce9de223a5.tar.gz git-sonar-1d713f471fd77a49bc783ba0b313ebce9de223a5.zip |
Surround non-printing chars in %{ and %}
Diffstat (limited to '')
-rwxr-xr-x | radar-base.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/radar-base.sh b/radar-base.sh index 054acb7..f907a0b 100755 --- a/radar-base.sh +++ b/radar-base.sh @@ -67,7 +67,7 @@ prepare_zsh_colors() { COLOR_BRANCH="%{${GIT_RADAR_COLOR_BRANCH:-$reset_color}%}" MASTER_SYMBOL="${GIT_RADAR_MASTER_SYMBOL:-"%{$reset_color%}$italic_m%{$reset_color%}"}" - PROMPT_FORMAT="${GIT_RADAR_FORMAT:-" $fg_bold[grey]git:($reset_color%{remote: }%{branch}%{ :local}$fg_bold[grey])$reset_color%{ :changes}"}" + PROMPT_FORMAT="${GIT_RADAR_FORMAT:-" %{$fg_bold[grey]%}git:(%{$reset_color%}%{remote: }%{branch}%{ :local}%{$fg_bold[grey]%})%{$reset_color%}%{ :changes}"}" RESET_COLOR_LOCAL="%{${GIT_RADAR_COLOR_LOCAL_RESET:-$reset_color}%}" RESET_COLOR_REMOTE="%{${GIT_RADAR_COLOR_REMOTE_RESET:-$reset_color}%}" |