From 06f45b6c6c298d38ae951098bd6b5fd7b3835694 Mon Sep 17 00:00:00 2001 From: Thayol Date: Sat, 24 Oct 2026 11:01:09 +0800 Subject: [PATCH] Add mistress branch highlighting --- prompt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prompt.sh b/prompt.sh index 3e399a1..de34d0a 100755 --- a/prompt.sh +++ b/prompt.sh @@ -20,7 +20,7 @@ __prompt_git() { branch=$(git branch --show-current 2>/dev/null) || return [[ -z $branch ]] && return - if [[ $branch =~ main|master ]] && [[ -n $PROMPT_HIGHLIGHTED_BRANCH_COLOR ]]; then + if [[ $branch =~ main|master|mistress ]] && [[ -n $PROMPT_HIGHLIGHTED_BRANCH_COLOR ]]; then color="\[\e[38;2;${PROMPT_HIGHLIGHTED_BRANCH_COLOR}m\]" color_reset="\[\e[0m\]" fi