From 1009b2372459c05ccfbe88be04f79424f7fababd Mon Sep 17 00:00:00 2001 From: Eduardo Bellido Bellido Date: Mon, 25 Jan 2016 20:01:00 +0100 Subject: [PATCH] Minor fixes --- themes/powerline-multiline/powerline-multiline.theme.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/powerline-multiline/powerline-multiline.theme.bash b/themes/powerline-multiline/powerline-multiline.theme.bash index 28887ea4..cb63f1e9 100644 --- a/themes/powerline-multiline/powerline-multiline.theme.bash +++ b/themes/powerline-multiline/powerline-multiline.theme.bash @@ -42,7 +42,7 @@ BATTERY_STATUS_THEME_PROMPT_CRITICAL_COLOR=160 THEME_PROMPT_CLOCK_FORMAT=${THEME_PROMPT_CLOCK_FORMAT:="%H:%M:%S"} -IN_VIM_PROMPT_COLOR=35 +IN_VIM_PROMPT_COLOR=245 IN_VIM_PROMPT_TEXT="vim" THEME_LEFT_SEGMENTS="scm virtualenv rvm cwd" @@ -185,7 +185,7 @@ function powerline_last_status_prompt { function powerline_clock_prompt { local offset=0 local CLOCK=" $(date +"${THEME_PROMPT_CLOCK_FORMAT}") " - + if [[ $? -eq 0 ]]; then local CLOCK_PROMPT="" RIGHT_PROMPT_LENGTH=$(( ${RIGHT_PROMPT_LENGTH} + ${#CLOCK} )) @@ -237,7 +237,7 @@ function powerline_in_vim_prompt { local IN_VIM_PROMPT="" if [ -n "$VIMRUNTIME" ]; then if [[ "${SEGMENT_AT_RIGHT}" -eq 0 ]]; then - IN_VIM_PROMPT+=$(set_rgb_color ${IN_VIM_PROMPT_COLOR} -)${THEME_PROMPT_LEFT_SEPARATOR}${normal} + IN_VIM_PROMPT+="$(set_rgb_color ${IN_VIM_PROMPT_COLOR} -)${THEME_PROMPT_LEFT_SEPARATOR}${normal}" else IN_VIM_PROMPT+=$(set_rgb_color ${IN_VIM_PROMPT_COLOR} ${LAST_THEME_COLOR})${THEME_PROMPT_LEFT_SEPARATOR}${normal} (( offset += 1 ))