From 35e1fe00e218f4efa65f6e9acaa51124d21077ac Mon Sep 17 00:00:00 2001 From: rjorgenson Date: Fri, 8 Jul 2011 06:26:22 -0700 Subject: [PATCH] fixed a bug with colors in second line of prompt --- themes/rjorgenson/rjorgenson.theme.bash | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/themes/rjorgenson/rjorgenson.theme.bash b/themes/rjorgenson/rjorgenson.theme.bash index c6dfe6e..bebc9b3 100644 --- a/themes/rjorgenson/rjorgenson.theme.bash +++ b/themes/rjorgenson/rjorgenson.theme.bash @@ -68,11 +68,11 @@ modern_scm_prompt() { } my_prompt_char() { - if [[ $OSTYPE =~ "darwin" ]]; then - echo "${BRACKET_COLOR}➞ ${normal}" - else - echo "${BRACKET_COLOR}➞ ${normal}" - fi + if [[ $OSTYPE =~ "darwin" ]]; then + echo "${BRACKET_COLOR}➞ ${normal}" + else + echo "${BRACKET_COLOR}➞ ${normal}" + fi } prompt() { @@ -88,7 +88,7 @@ prompt() { ${BRACKET_COLOR}└─$(my_prompt_char)${normal}" ;; *) PS1="${TITLEBAR}${BRACKET_COLOR}┌─[$my_ps_user${BRACKET_COLOR}][$my_ps_host${BRACKET_COLOR}]$(modern_scm_prompt)$(__my_rvm_ruby_version)${BRACKET_COLOR}[${STRING_COLOR}\w${BRACKET_COLOR}]$(is_vim_shell) -└─$(todo_txt_count)$(my_prompt_char)" +${BRACKET_COLOR}└─$(todo_txt_count)$(my_prompt_char)" ;; esac } -- 2.17.1