Skip to content

Commit

Permalink
fixed a bug with colors in second line of prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
rjorgenson committed Jul 8, 2011
1 parent 0b218c4 commit 35e1fe0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions themes/rjorgenson/rjorgenson.theme.bash
Expand Up @@ -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() {
Expand All @@ -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
}
Expand Down

0 comments on commit 35e1fe0

Please sign in to comment.