Skip to content

Commit

Permalink
add $GIT_PROMPT_MASTER_BRANCH to all themes
Browse files Browse the repository at this point in the history
... that set $GIT_PROMPT_BRANCH, using the same color as
$GIT_PROMPT_BRANCH to avoid unintended changes.
  • Loading branch information
Christian Boltz committed Dec 17, 2017
1 parent 4b8c8da commit 7deca31
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions themes/Chmike.bgptheme
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ override_git_prompt_colors() {

GIT_PROMPT_THEME_NAME="Chmike"
GIT_PROMPT_BRANCH="${Green}"
GIT_PROMPT_MASTER_BRANCH="${Green}"
GIT_PROMPT_REMOTE=" "
GIT_PROMPT_SYMBOLS_NO_REMOTE_TRACKING="⭐"

Expand Down
1 change: 1 addition & 0 deletions themes/Evermeet.bgptheme
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ override_git_prompt_colors() {
GIT_PROMPT_SEPARATOR="|" # separates each item

GIT_PROMPT_BRANCH="${Magenta}" # the git branch that is active in the current directory
GIT_PROMPT_MASTER_BRANCH="${Magenta}" # the git branch that is active in the current directory
GIT_PROMPT_STAGED="${Cyan}●" # the number of staged files/directories
GIT_PROMPT_CONFLICTS="${BoldRed}✖" # the number of files in conflict
GIT_PROMPT_CHANGED="${Cyan}✚" # the number of changed files
Expand Down
1 change: 1 addition & 0 deletions themes/Evermeet_Lowres.bgptheme
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ override_git_prompt_colors() {
GIT_PROMPT_SEPARATOR="|" # separates each item

GIT_PROMPT_BRANCH="${Magenta}" # the git branch that is active in the current directory
GIT_PROMPT_MASTER_BRANCH="${Magenta}" # the git branch that is active in the current directory
GIT_PROMPT_STAGED="${Cyan}●" # the number of staged files/directories
GIT_PROMPT_CONFLICTS="${BoldRed}✖ " # the number of files in conflict
GIT_PROMPT_CHANGED="${Cyan}✚ " # the number of changed files
Expand Down
1 change: 1 addition & 0 deletions themes/Evermeet_Ubuntu.bgptheme
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ override_git_prompt_colors() {
GIT_PROMPT_SEPARATOR="|" # separates each item

GIT_PROMPT_BRANCH="${Magenta}" # the git branch that is active in the current directory
GIT_PROMPT_MASTER_BRANCH="${Magenta}" # the git branch that is active in the current directory
GIT_PROMPT_STAGED="${Cyan}● " # the number of staged files/directories
GIT_PROMPT_CONFLICTS="${BoldRed}✖ " # the number of files in conflict
GIT_PROMPT_CHANGED="${Cyan}✚ " # the number of changed files
Expand Down
1 change: 1 addition & 0 deletions themes/Minimal.bgptheme
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ override_git_prompt_colors() {

Time12a="\$(date +%H:%M:%S)"
GIT_PROMPT_BRANCH="${BoldMagenta}" # the git branch that is active in the current directory
GIT_PROMPT_MASTER_BRANCH="${BoldMagenta}" # the git branch that is active in the current directory
GIT_PROMPT_PREFIX="" # start of the git info string
GIT_PROMPT_SUFFIX="" # the end of the git info string
GIT_PROMPT_SEPARATOR="" # separates each item
Expand Down
1 change: 1 addition & 0 deletions themes/Minimal_UserHost.bgptheme
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ override_git_prompt_colors() {
fi

GIT_PROMPT_BRANCH="${BoldMagenta}" # the git branch that is active in the current directory
GIT_PROMPT_MASTER_BRANCH="${BoldMagenta}" # the git branch that is active in the current directory
GIT_PROMPT_PREFIX="" # start of the git info string
GIT_PROMPT_SUFFIX="" # the end of the git info string
GIT_PROMPT_SEPARATOR="" # separates each item
Expand Down
1 change: 1 addition & 0 deletions themes/Single_line_Dark.bgptheme
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
override_git_prompt_colors() {
GIT_PROMPT_THEME_NAME="Single_line_nono031"
GIT_PROMPT_BRANCH="${Cyan}"
GIT_PROMPT_MASTER_BRANCH="${Cyan}"
GIT_PROMPT_UNTRACKED=" ${Cyan}…${ResetColor}"
GIT_PROMPT_CHANGED="${Yellow}✚ "
GIT_PROMPT_STAGED="${Magenta}●"
Expand Down
1 change: 1 addition & 0 deletions themes/Single_line_NoExitState_Gentoo.bgptheme
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
override_git_prompt_colors() {
GIT_PROMPT_THEME_NAME="Single_line_NoExitState_Gentoo"
GIT_PROMPT_BRANCH="${Cyan}"
GIT_PROMPT_MASTER_BRANCH="${Cyan}"
GIT_PROMPT_UNTRACKED=" ${Cyan}…${ResetColor}"
GIT_PROMPT_CHANGED="${Yellow}✚ "
GIT_PROMPT_STAGED="${Magenta}●"
Expand Down
1 change: 1 addition & 0 deletions themes/Single_line_NoExitState_openSUSE.bgptheme
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
override_git_prompt_colors() {
GIT_PROMPT_THEME_NAME="Single_line_NoExitState_openSUSE"
GIT_PROMPT_BRANCH="${Cyan}"
GIT_PROMPT_MASTER_BRANCH="${Cyan}"
GIT_PROMPT_UNTRACKED=" ${Cyan}…${ResetColor}"
GIT_PROMPT_CHANGED="${Yellow}✚ "
GIT_PROMPT_STAGED="${Magenta}●"
Expand Down
1 change: 1 addition & 0 deletions themes/Single_line_openSUSE.bgptheme
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
override_git_prompt_colors() {
GIT_PROMPT_THEME_NAME="Single_line_openSUSE"
GIT_PROMPT_BRANCH="${Cyan}"
GIT_PROMPT_MASTER_BRANCH="${Cyan}"
GIT_PROMPT_UNTRACKED=" ${Cyan}…${ResetColor}"
GIT_PROMPT_CHANGED="${Yellow}✚ "
GIT_PROMPT_STAGED="${Magenta}●"
Expand Down

0 comments on commit 7deca31

Please sign in to comment.