File tree 12 files changed +12
-12
lines changed
12 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ override_git_prompt_colors() {
14
14
15
15
GIT_PROMPT_THEME_NAME="Chmike"
16
16
GIT_PROMPT_BRANCH="${Green}"
17
- GIT_PROMPT_MASTER_BRANCH="${Green }"
17
+ GIT_PROMPT_MASTER_BRANCH="${GIT_PROMPT_BRANCH }"
18
18
GIT_PROMPT_REMOTE=" "
19
19
GIT_PROMPT_SYMBOLS_NO_REMOTE_TRACKING="⭐"
20
20
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ override_git_prompt_colors() {
14
14
# GIT_PROMPT_SEPARATOR="|" # separates each item
15
15
16
16
# GIT_PROMPT_BRANCH="${Magenta}" # the git branch that is active in the current directory
17
- # GIT_PROMPT_MASTER_BRANCH="${Magenta }" # used if the git branch that is active in the current directory is $GIT_PROMPT_MASTER_BRANCHES
17
+ # GIT_PROMPT_MASTER_BRANCH="${GIT_PROMPT_BRANCH }" # used if the git branch that is active in the current directory is $GIT_PROMPT_MASTER_BRANCHES
18
18
# GIT_PROMPT_STAGED="${Red}●" # the number of staged files/directories
19
19
# GIT_PROMPT_CONFLICTS="${Red}✖ " # the number of files in conflict
20
20
# GIT_PROMPT_CHANGED="${Blue}✚ " # the number of changed files
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ define_undefined_git_prompt_colors() {
42
42
if [ -z ${GIT_PROMPT_SEPARATOR+x} ]; then GIT_PROMPT_SEPARATOR="|"; fi # separates each item
43
43
44
44
if [ -z ${GIT_PROMPT_BRANCH+x} ]; then GIT_PROMPT_BRANCH="${Magenta}"; fi # the git branch that is active in the current directory
45
- if [ -z ${GIT_PROMPT_MASTER_BRANCH+x} ]; then GIT_PROMPT_MASTER_BRANCH="${Magenta }"; fi # used if the git branch that is active in the current directory is $GIT_PROMPT_MASTER_BRANCHES
45
+ if [ -z ${GIT_PROMPT_MASTER_BRANCH+x} ]; then GIT_PROMPT_MASTER_BRANCH="${GIT_PROMPT_BRANCH }"; fi # used if the git branch that is active in the current directory is $GIT_PROMPT_MASTER_BRANCHES
46
46
if [ -z ${GIT_PROMPT_STAGED+x} ]; then GIT_PROMPT_STAGED="${Red}●"; fi # the number of staged files/directories
47
47
if [ -z ${GIT_PROMPT_CONFLICTS+x} ]; then GIT_PROMPT_CONFLICTS="${Red}✖ "; fi # the number of files in conflict
48
48
if [ -z ${GIT_PROMPT_CHANGED+x} ]; then GIT_PROMPT_CHANGED="${Blue}✚ "; fi # the number of changed files
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ override_git_prompt_colors() {
9
9
GIT_PROMPT_SEPARATOR="|" # separates each item
10
10
11
11
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
12
+ GIT_PROMPT_MASTER_BRANCH="${GIT_PROMPT_BRANCH }" # used if the git branch that is active in the current directory is $GIT_PROMPT_MASTER_BRANCHES
13
13
GIT_PROMPT_STAGED="${Cyan}●" # the number of staged files/directories
14
14
GIT_PROMPT_CONFLICTS="${BoldRed}✖" # the number of files in conflict
15
15
GIT_PROMPT_CHANGED="${Cyan}✚" # the number of changed files
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ override_git_prompt_colors() {
11
11
GIT_PROMPT_SEPARATOR="|" # separates each item
12
12
13
13
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
14
+ GIT_PROMPT_MASTER_BRANCH="${GIT_PROMPT_BRANCH }" # used if the git branch that is active in the current directory is $GIT_PROMPT_MASTER_BRANCHES
15
15
GIT_PROMPT_STAGED="${Cyan}●" # the number of staged files/directories
16
16
GIT_PROMPT_CONFLICTS="${BoldRed}✖ " # the number of files in conflict
17
17
GIT_PROMPT_CHANGED="${Cyan}✚ " # the number of changed files
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ override_git_prompt_colors() {
11
11
GIT_PROMPT_SEPARATOR="|" # separates each item
12
12
13
13
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
14
+ GIT_PROMPT_MASTER_BRANCH="${GIT_PROMPT_BRANCH }" # used if the git branch that is active in the current directory is $GIT_PROMPT_MASTER_BRANCHES
15
15
GIT_PROMPT_STAGED="${Cyan}● " # the number of staged files/directories
16
16
GIT_PROMPT_CONFLICTS="${BoldRed}✖ " # the number of files in conflict
17
17
GIT_PROMPT_CHANGED="${Cyan}✚ " # the number of changed files
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ override_git_prompt_colors() {
36
36
37
37
Time12a="\$(date +%H:%M:%S)"
38
38
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
39
+ GIT_PROMPT_MASTER_BRANCH="${GIT_PROMPT_MASTER_BRANCH }" # used if the git branch that is active in the current directory is $GIT_PROMPT_MASTER_BRANCHES
40
40
GIT_PROMPT_PREFIX="" # start of the git info string
41
41
GIT_PROMPT_SUFFIX="" # the end of the git info string
42
42
GIT_PROMPT_SEPARATOR="" # separates each item
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ override_git_prompt_colors() {
44
44
fi
45
45
46
46
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
47
+ GIT_PROMPT_MASTER_BRANCH="${GIT_PROMPT_MASTER_BRANCH }" # used if the git branch that is active in the current directory is $GIT_PROMPT_MASTER_BRANCHES
48
48
GIT_PROMPT_PREFIX="" # start of the git info string
49
49
GIT_PROMPT_SUFFIX="" # the end of the git info string
50
50
GIT_PROMPT_SEPARATOR="" # separates each item
Original file line number Diff line number Diff line change 4
4
override_git_prompt_colors() {
5
5
GIT_PROMPT_THEME_NAME="Single_line_nono031"
6
6
GIT_PROMPT_BRANCH="${Cyan}"
7
- GIT_PROMPT_MASTER_BRANCH="${Cyan }"
7
+ GIT_PROMPT_MASTER_BRANCH="${GIT_PROMPT_BRANCH }"
8
8
GIT_PROMPT_UNTRACKED=" ${Cyan}…${ResetColor}"
9
9
GIT_PROMPT_CHANGED="${Yellow}✚ "
10
10
GIT_PROMPT_STAGED="${Magenta}●"
Original file line number Diff line number Diff line change 4
4
override_git_prompt_colors() {
5
5
GIT_PROMPT_THEME_NAME="Single_line_NoExitState_Gentoo"
6
6
GIT_PROMPT_BRANCH="${Cyan}"
7
- GIT_PROMPT_MASTER_BRANCH="${Cyan }"
7
+ GIT_PROMPT_MASTER_BRANCH="${GIT_PROMPT_BRANCH }"
8
8
GIT_PROMPT_UNTRACKED=" ${Cyan}…${ResetColor}"
9
9
GIT_PROMPT_CHANGED="${Yellow}✚ "
10
10
GIT_PROMPT_STAGED="${Magenta}●"
Original file line number Diff line number Diff line change 4
4
override_git_prompt_colors() {
5
5
GIT_PROMPT_THEME_NAME="Single_line_NoExitState_openSUSE"
6
6
GIT_PROMPT_BRANCH="${Cyan}"
7
- GIT_PROMPT_MASTER_BRANCH="${Cyan }"
7
+ GIT_PROMPT_MASTER_BRANCH="${GIT_PROMPT_BRANCH }"
8
8
GIT_PROMPT_UNTRACKED=" ${Cyan}…${ResetColor}"
9
9
GIT_PROMPT_CHANGED="${Yellow}✚ "
10
10
GIT_PROMPT_STAGED="${Magenta}●"
Original file line number Diff line number Diff line change 4
4
override_git_prompt_colors() {
5
5
GIT_PROMPT_THEME_NAME="Single_line_openSUSE"
6
6
GIT_PROMPT_BRANCH="${Cyan}"
7
- GIT_PROMPT_MASTER_BRANCH="${Cyan }"
7
+ GIT_PROMPT_MASTER_BRANCH="${GIT_PROMPT_BRANCH }"
8
8
GIT_PROMPT_UNTRACKED=" ${Cyan}…${ResetColor}"
9
9
GIT_PROMPT_CHANGED="${Yellow}✚ "
10
10
GIT_PROMPT_STAGED="${Magenta}●"
You can’t perform that action at this time.
0 commit comments