File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed
Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ # This is a theme for gitprompt.sh,
2+ # it uses the default openSUSE bash prompt style
3+
4+ override_git_prompt_colors() {
5+ GIT_PROMPT_THEME_NAME="Single_line_NoExitState_openSUSE"
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="\u@\h:\w"
12+ GIT_PROMPT_START_ROOT="${BoldRed}\h:\w"
13+
14+ GIT_PROMPT_END_USER="> "
15+ GIT_PROMPT_END_ROOT=" # ${ResetColor}"
16+ }
17+
18+ reload_git_prompt_colors "Single_line_NoExitState_openSUSE"
19+
Original file line number Diff line number Diff line change 1+ # This is a theme for gitprompt.sh,
2+ # it uses the default openSUSE bash prompt style with exit status
3+
4+ override_git_prompt_colors() {
5+ GIT_PROMPT_THEME_NAME="Single_line_openSUSE"
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="_LAST_COMMAND_INDICATOR_ ${ResetColor}\u@\h:\w"
12+ GIT_PROMPT_START_ROOT="_LAST_COMMAND_INDICATOR_ ${BoldRed}\h:\w"
13+
14+ GIT_PROMPT_END_USER="${ResetColor}> "
15+ GIT_PROMPT_END_ROOT=" # ${ResetColor}"
16+ }
17+
18+ reload_git_prompt_colors "Single_line_openSUSE"
19+
You can’t perform that action at this time.
0 commit comments