summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordusoleil <howcansocksbereal@gmail.com>2021-08-04 19:19:27 -0400
committerMalfurious <m@lfurio.us>2021-08-04 20:08:08 -0400
commit6c08d333a74aacd1fa9d14de9abab38ede4a8e88 (patch)
tree1538bfa7b8744664e9bf201e986ca389b2dc4c03
parent130fb456fbb2d9b73fc18404d2341583227be516 (diff)
downloadgit-sonar-6c08d333a74aacd1fa9d14de9abab38ede4a8e88.tar.gz
git-sonar-6c08d333a74aacd1fa9d14de9abab38ede4a8e88.zip
Properly Reset Colors After Stash Status
If a custom color is used for the stash icon, git-sonar needs to reset the color after the icon. It was using the wrong variable for this reset. Signed-off-by: dusoleil <howcansocksbereal@gmail.com> Signed-off-by: Malfurious <m@lfurio.us>
-rwxr-xr-xgit-sonar2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-sonar b/git-sonar
index 1b9ee03..512b3c7 100755
--- a/git-sonar
+++ b/git-sonar
@@ -70,7 +70,7 @@ prepare_colors() {
RESET_COLOR_REMOTE="\x01${GIT_RADAR_COLOR_REMOTE_RESET:-"\\033[0m"}\x02"
RESET_COLOR_CHANGES="\x01${GIT_RADAR_COLOR_CHANGES_RESET:-"\\033[0m"}\x02"
RESET_COLOR_BRANCH="\x01${GIT_RADAR_COLOR_BRANCH_RESET:-"\\033[0m"}\x02"
- RESET_COLOR_STASH="\x01${GIT_RADAR_COLOR_STASH:-"\\033[0m"}\x02"
+ RESET_COLOR_STASH="\x01${GIT_RADAR_COLOR_STASH_RESET:-"\\033[0m"}\x02"
}