Skip to content

Commit

Permalink
Merge pull request #335 from NorbertRonecker/master
Browse files Browse the repository at this point in the history
Single Line Theme for Gentoo Prompt without Exit State
  • Loading branch information
magicmonty authored Jul 21, 2017
2 parents a529134 + 4ac5e67 commit a8b3d9e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions themes/Single_line_NoExitState_Gentoo.bgptheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This is a theme for gitprompt.sh,
# it uses the default Gentoo bash prompt style.

override_git_prompt_colors() {
GIT_PROMPT_THEME_NAME="Single_line_NoExitState_Gentoo"
GIT_PROMPT_BRANCH="${Cyan}"
GIT_PROMPT_UNTRACKED=" ${Cyan}…${ResetColor}"
GIT_PROMPT_CHANGED="${Yellow}✚ "
GIT_PROMPT_STAGED="${Magenta}●"

GIT_PROMPT_START_USER="${BoldGreen}\u@\h ${BrightBlue}\w${ResetColor}"
GIT_PROMPT_START_ROOT="${BoldRed}\h ${BrightBlue}\w${ResetColor}"

GIT_PROMPT_END_USER="${BrightBlue} \$ ${ResetColor}"
GIT_PROMPT_END_ROOT="${BrightBlue} \$ ${ResetColor}"
}

reload_git_prompt_colors "Single_line_NoExitState_Gentoo"

0 comments on commit a8b3d9e

Please sign in to comment.