From 0cebf28e091b3bab962df78436a18ec146c74efd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ladislav=20Slez=C3=A1k?= Date: Thu, 5 Feb 2015 10:21:35 +0100 Subject: [PATCH] added openSUSE themes --- .../Single_line_NoExitState_openSUSE.bgptheme | 19 +++++++++++++++++++ themes/Single_line_openSUSE.bgptheme | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 themes/Single_line_NoExitState_openSUSE.bgptheme create mode 100644 themes/Single_line_openSUSE.bgptheme diff --git a/themes/Single_line_NoExitState_openSUSE.bgptheme b/themes/Single_line_NoExitState_openSUSE.bgptheme new file mode 100644 index 00000000..e3580d7e --- /dev/null +++ b/themes/Single_line_NoExitState_openSUSE.bgptheme @@ -0,0 +1,19 @@ +# This is a theme for gitprompt.sh, +# it uses the default openSUSE bash prompt style + +override_git_prompt_colors() { + GIT_PROMPT_THEME_NAME="Single_line_NoExitState_openSUSE" + GIT_PROMPT_BRANCH="${Cyan}" + GIT_PROMPT_UNTRACKED=" ${Cyan}…${ResetColor}" + GIT_PROMPT_CHANGED="${Yellow}✚ " + GIT_PROMPT_STAGED="${Magenta}●" + + GIT_PROMPT_START_USER="\u@\h:\w" + GIT_PROMPT_START_ROOT="${BoldRed}\h:\w" + + GIT_PROMPT_END_USER="> " + GIT_PROMPT_END_ROOT=" # ${ResetColor}" +} + +reload_git_prompt_colors "Single_line_NoExitState_openSUSE" + diff --git a/themes/Single_line_openSUSE.bgptheme b/themes/Single_line_openSUSE.bgptheme new file mode 100644 index 00000000..396006af --- /dev/null +++ b/themes/Single_line_openSUSE.bgptheme @@ -0,0 +1,19 @@ +# 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_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" +