From 44d7f79637aab649f15d3778521975dce594c45a Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong(cubxxw-openim)" <3293172751nss@gmail.com> Date: Fri, 7 Jul 2023 22:00:59 +0800 Subject: [PATCH] feat: add COLOR_SUFFIX=033[0m # End all colors and special effects Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com> --- scripts/githooks/pre-push | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/githooks/pre-push b/scripts/githooks/pre-push index 39c42832c..d28e63869 100644 --- a/scripts/githooks/pre-push +++ b/scripts/githooks/pre-push @@ -40,6 +40,7 @@ if [[ `git status --porcelain` ]]; then exit 1 fi +COLOR_SUFFIX="\033[0m" # End all colors and special effects PURPLE_PREFIX="\033[35m" # Purple prefix BOLD_PREFIX="\033[1m" # Bold prefix