mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-05-11 05:55:37 +00:00
23 lines
981 B
Bash
23 lines
981 B
Bash
# -*- mode: bash -*-
|
|
SCM_THEME_PROMPT_DIRTY=" ${red}✗"
|
|
SCM_THEME_PROMPT_CLEAN=" ${bold_green}✓"
|
|
SCM_THEME_PROMPT_PREFIX=" |"
|
|
SCM_THEME_PROMPT_SUFFIX="${green}|"
|
|
|
|
GIT_THEME_PROMPT_DIRTY=" ${red}✗"
|
|
GIT_THEME_PROMPT_CLEAN=" ${bold_green}✓"
|
|
GIT_THEME_PROMPT_PREFIX=" ${green}|"
|
|
GIT_THEME_PROMPT_SUFFIX="${green}|"
|
|
|
|
RVM_THEME_PROMPT_PREFIX="|"
|
|
RVM_THEME_PROMPT_SUFFIX="|"
|
|
|
|
function prompt_command() {
|
|
#PS1="${bold_cyan}$(scm_char)${green}$(scm_prompt_info)${purple}$(_omb_prompt_print_ruby_env) ${yellow}\h ${reset_color}in ${green}\w ${reset_color}\n${green}→${reset_color} "
|
|
#PS1="\n${purple}\h: ${reset_color} ${green}\w\n${bold_cyan}$(scm_char)${green}$(scm_prompt_info) ${green}→${reset_color} "
|
|
#PS1="\n${cyan}\h: ${reset_color} ${yellow}\w\n${red}$(scm_char)${red}$(scm_prompt_info) ${green}→${reset_color} "
|
|
PS1="\n${cyan}\h: ${reset_color} ${yellow}\w ${green}$(scm_prompt_info)\n${reset_color}→ "
|
|
}
|
|
|
|
_omb_util_add_prompt_command prompt_command
|