21 lines
659 B
Plaintext
21 lines
659 B
Plaintext
# This is a theme for gitprompt.sh,
|
|
# it uses the default openSUSE bash prompt style with exit status
|
|
|
|
override_git_prompt_colors() {
|
|
GIT_PROMPT_THEME_NAME="Single_line_openSUSE"
|
|
GIT_PROMPT_BRANCH="${Cyan}"
|
|
GIT_PROMPT_MASTER_BRANCH="${GIT_PROMPT_BRANCH}"
|
|
GIT_PROMPT_UNTRACKED=" ${Cyan}…${ResetColor}"
|
|
GIT_PROMPT_CHANGED="${Yellow}✚ "
|
|
GIT_PROMPT_STAGED="${Magenta}●"
|
|
|
|
GIT_PROMPT_START_USER="_LAST_COMMAND_INDICATOR_ ${ResetColor}\u@\h:\w"
|
|
GIT_PROMPT_START_ROOT="_LAST_COMMAND_INDICATOR_ ${BoldRed}\h:\w"
|
|
|
|
GIT_PROMPT_END_USER="${ResetColor}> "
|
|
GIT_PROMPT_END_ROOT=" # ${ResetColor}"
|
|
}
|
|
|
|
reload_git_prompt_colors "Single_line_openSUSE"
|
|
|