mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-05-11 05:55:37 +00:00
themes/{robbyrussell,rr}: Add separate prefixes for svn and hg
This commit is contained in:
committed by
Koichi Murase
parent
748b5842f7
commit
cde121eccd
@@ -11,7 +11,9 @@ function _omb_theme_PROMPT_COMMAND() {
|
||||
fi
|
||||
|
||||
local base_directory="${_omb_prompt_bold_teal}\W${_omb_prompt_reset_color}"
|
||||
local SCM_THEME_PROMPT_PREFIX="${_omb_prompt_bold_navy}git:(${_omb_prompt_bold_brown}"
|
||||
local GIT_THEME_PROMPT_PREFIX="${_omb_prompt_bold_navy}git:(${_omb_prompt_bold_brown}"
|
||||
local SVN_THEME_PROMPT_PREFIX="${_omb_prompt_bold_navy}svn:(${_omb_prompt_bold_brown}"
|
||||
local HG_THEME_PROMPT_PREFIX="${_omb_prompt_bold_navy}hg:(${_omb_prompt_bold_brown}"
|
||||
local SCM_THEME_PROMPT_SUFFIX="${_omb_prompt_reset_color}"
|
||||
local SCM_THEME_PROMPT_CLEAN="${_omb_prompt_bold_navy})${_omb_prompt_reset_color}"
|
||||
local SCM_THEME_PROMPT_DIRTY="${_omb_prompt_bold_navy}) ${_omb_prompt_olive}✗${_omb_prompt_reset_color}"
|
||||
|
@@ -12,7 +12,9 @@
|
||||
function _omb_theme_PROMPT_COMMAND() {
|
||||
local user_name="${_omb_prompt_white}\u${_omb_prompt_reset_color}"
|
||||
local base_directory="${_omb_prompt_bold_blue}\W${_omb_prompt_reset_color}"
|
||||
local SCM_THEME_PROMPT_PREFIX="${_omb_prompt_bold_purple}git:(${_omb_prompt_reset_color}"
|
||||
local GIT_THEME_PROMPT_PREFIX="${_omb_prompt_bold_purple}git:(${_omb_prompt_reset_color}"
|
||||
local SVN_THEME_PROMPT_PREFIX="${_omb_prompt_bold_purple}svn:(${_omb_prompt_reset_color}"
|
||||
local HG_THEME_PROMPT_PREFIX="${_omb_prompt_bold_purple}hg:(${_omb_prompt_reset_color}"
|
||||
local SCM_THEME_PROMPT_SUFFIX="${_omb_prompt_bold_purple})${_omb_prompt_reset_color}"
|
||||
local SCM_THEME_PROMPT_CLEAN="${_omb_prompt_bold_green} ✓${_omb_prompt_reset_color}"
|
||||
local SCM_THEME_PROMPT_DIRTY="${_omb_prompt_bold_red} ✗${_omb_prompt_reset_color}"
|
||||
|
Reference in New Issue
Block a user