Minor fixes

pull/605/head
Eduardo Bellido Bellido 2016-01-25 20:01:00 +01:00
parent 51f5614de5
commit 1009b23724
1 changed files with 3 additions and 3 deletions

View File

@ -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"
@ -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 ))