Skip to content

Commit a8b3d9e

Browse files
authored
Merge pull request #335 from NorbertRonecker/master
Single Line Theme for Gentoo Prompt without Exit State
2 parents a529134 + 4ac5e67 commit a8b3d9e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# This is a theme for gitprompt.sh,
2+
# it uses the default Gentoo bash prompt style.
3+
4+
override_git_prompt_colors() {
5+
GIT_PROMPT_THEME_NAME="Single_line_NoExitState_Gentoo"
6+
GIT_PROMPT_BRANCH="${Cyan}"
7+
GIT_PROMPT_UNTRACKED=" ${Cyan}…${ResetColor}"
8+
GIT_PROMPT_CHANGED="${Yellow}✚ "
9+
GIT_PROMPT_STAGED="${Magenta}●"
10+
11+
GIT_PROMPT_START_USER="${BoldGreen}\u@\h ${BrightBlue}\w${ResetColor}"
12+
GIT_PROMPT_START_ROOT="${BoldRed}\h ${BrightBlue}\w${ResetColor}"
13+
14+
GIT_PROMPT_END_USER="${BrightBlue} \$ ${ResetColor}"
15+
GIT_PROMPT_END_ROOT="${BrightBlue} \$ ${ResetColor}"
16+
}
17+
18+
reload_git_prompt_colors "Single_line_NoExitState_Gentoo"
19+

0 commit comments

Comments
 (0)