Skip to content

Commit 0cebf28

Browse files
committed
added openSUSE themes
1 parent c66cdfb commit 0cebf28

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed
Lines changed: 19 additions & 0 deletions
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 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+
Lines changed: 19 additions & 0 deletions
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 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+

0 commit comments

Comments
 (0)