Skip to content

Commit 7deca31

Browse files
author
Christian Boltz
committed
add $GIT_PROMPT_MASTER_BRANCH to all themes
... that set $GIT_PROMPT_BRANCH, using the same color as $GIT_PROMPT_BRANCH to avoid unintended changes.
1 parent 4b8c8da commit 7deca31

10 files changed

+10
-0
lines changed

themes/Chmike.bgptheme

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ override_git_prompt_colors() {
1414

1515
GIT_PROMPT_THEME_NAME="Chmike"
1616
GIT_PROMPT_BRANCH="${Green}"
17+
GIT_PROMPT_MASTER_BRANCH="${Green}"
1718
GIT_PROMPT_REMOTE=" "
1819
GIT_PROMPT_SYMBOLS_NO_REMOTE_TRACKING="⭐"
1920

themes/Evermeet.bgptheme

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ override_git_prompt_colors() {
99
GIT_PROMPT_SEPARATOR="|" # separates each item
1010

1111
GIT_PROMPT_BRANCH="${Magenta}" # the git branch that is active in the current directory
12+
GIT_PROMPT_MASTER_BRANCH="${Magenta}" # the git branch that is active in the current directory
1213
GIT_PROMPT_STAGED="${Cyan}●" # the number of staged files/directories
1314
GIT_PROMPT_CONFLICTS="${BoldRed}✖" # the number of files in conflict
1415
GIT_PROMPT_CHANGED="${Cyan}✚" # the number of changed files

themes/Evermeet_Lowres.bgptheme

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ override_git_prompt_colors() {
1111
GIT_PROMPT_SEPARATOR="|" # separates each item
1212

1313
GIT_PROMPT_BRANCH="${Magenta}" # the git branch that is active in the current directory
14+
GIT_PROMPT_MASTER_BRANCH="${Magenta}" # the git branch that is active in the current directory
1415
GIT_PROMPT_STAGED="${Cyan}●" # the number of staged files/directories
1516
GIT_PROMPT_CONFLICTS="${BoldRed}✖ " # the number of files in conflict
1617
GIT_PROMPT_CHANGED="${Cyan}✚ " # the number of changed files

themes/Evermeet_Ubuntu.bgptheme

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ override_git_prompt_colors() {
1111
GIT_PROMPT_SEPARATOR="|" # separates each item
1212

1313
GIT_PROMPT_BRANCH="${Magenta}" # the git branch that is active in the current directory
14+
GIT_PROMPT_MASTER_BRANCH="${Magenta}" # the git branch that is active in the current directory
1415
GIT_PROMPT_STAGED="${Cyan}● " # the number of staged files/directories
1516
GIT_PROMPT_CONFLICTS="${BoldRed}✖ " # the number of files in conflict
1617
GIT_PROMPT_CHANGED="${Cyan}✚ " # the number of changed files

themes/Minimal.bgptheme

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ override_git_prompt_colors() {
3636

3737
Time12a="\$(date +%H:%M:%S)"
3838
GIT_PROMPT_BRANCH="${BoldMagenta}" # the git branch that is active in the current directory
39+
GIT_PROMPT_MASTER_BRANCH="${BoldMagenta}" # the git branch that is active in the current directory
3940
GIT_PROMPT_PREFIX="" # start of the git info string
4041
GIT_PROMPT_SUFFIX="" # the end of the git info string
4142
GIT_PROMPT_SEPARATOR="" # separates each item

themes/Minimal_UserHost.bgptheme

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ override_git_prompt_colors() {
4444
fi
4545

4646
GIT_PROMPT_BRANCH="${BoldMagenta}" # the git branch that is active in the current directory
47+
GIT_PROMPT_MASTER_BRANCH="${BoldMagenta}" # the git branch that is active in the current directory
4748
GIT_PROMPT_PREFIX="" # start of the git info string
4849
GIT_PROMPT_SUFFIX="" # the end of the git info string
4950
GIT_PROMPT_SEPARATOR="" # separates each item

themes/Single_line_Dark.bgptheme

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
override_git_prompt_colors() {
55
GIT_PROMPT_THEME_NAME="Single_line_nono031"
66
GIT_PROMPT_BRANCH="${Cyan}"
7+
GIT_PROMPT_MASTER_BRANCH="${Cyan}"
78
GIT_PROMPT_UNTRACKED=" ${Cyan}…${ResetColor}"
89
GIT_PROMPT_CHANGED="${Yellow}✚ "
910
GIT_PROMPT_STAGED="${Magenta}●"

themes/Single_line_NoExitState_Gentoo.bgptheme

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
override_git_prompt_colors() {
55
GIT_PROMPT_THEME_NAME="Single_line_NoExitState_Gentoo"
66
GIT_PROMPT_BRANCH="${Cyan}"
7+
GIT_PROMPT_MASTER_BRANCH="${Cyan}"
78
GIT_PROMPT_UNTRACKED=" ${Cyan}…${ResetColor}"
89
GIT_PROMPT_CHANGED="${Yellow}✚ "
910
GIT_PROMPT_STAGED="${Magenta}●"

themes/Single_line_NoExitState_openSUSE.bgptheme

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
override_git_prompt_colors() {
55
GIT_PROMPT_THEME_NAME="Single_line_NoExitState_openSUSE"
66
GIT_PROMPT_BRANCH="${Cyan}"
7+
GIT_PROMPT_MASTER_BRANCH="${Cyan}"
78
GIT_PROMPT_UNTRACKED=" ${Cyan}…${ResetColor}"
89
GIT_PROMPT_CHANGED="${Yellow}✚ "
910
GIT_PROMPT_STAGED="${Magenta}●"

themes/Single_line_openSUSE.bgptheme

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
override_git_prompt_colors() {
55
GIT_PROMPT_THEME_NAME="Single_line_openSUSE"
66
GIT_PROMPT_BRANCH="${Cyan}"
7+
GIT_PROMPT_MASTER_BRANCH="${Cyan}"
78
GIT_PROMPT_UNTRACKED=" ${Cyan}…${ResetColor}"
89
GIT_PROMPT_CHANGED="${Yellow}✚ "
910
GIT_PROMPT_STAGED="${Magenta}●"

0 commit comments

Comments
 (0)