From f512f711009c5a072cecdd7c9bd49389d7eeff98 Mon Sep 17 00:00:00 2001 From: Nikos Skalkotos Date: Thu, 28 Dec 2017 17:53:14 +0200 Subject: [PATCH] clean theme: Fix scm coloring Remove zsh stuff and fix coloring --- themes/clean/clean.theme.bash | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/themes/clean/clean.theme.bash b/themes/clean/clean.theme.bash index e72e0beb..c479a041 100644 --- a/themes/clean/clean.theme.bash +++ b/themes/clean/clean.theme.bash @@ -1,8 +1,8 @@ # git theming -ZSH_THEME_GIT_PROMPT_PREFIX="${bold_blue}(${yellow}%B" -ZSH_THEME_GIT_PROMPT_SUFFIX="%b${bold_blue})${reset_color} " -ZSH_THEME_GIT_PROMPT_CLEAN="" -ZSH_THEME_GIT_PROMPT_DIRTY="${bold_red}✗" +SCM_THEME_PROMPT_PREFIX="${bold_blue}(${yellow}" +SCM_THEME_PROMPT_SUFFIX="${bold_blue})${reset_color} " +SCM_THEME_PROMPT_CLEAN="" +SCM_THEME_PROMPT_DIRTY="${bold_red}✗" # LS colors, made with http://geoff.greer.fm/lscolors/ @@ -13,8 +13,7 @@ function prompt_command() { if [ "$(whoami)" = root ]; then no_color=$red; else no_color=$white; fi - PS1="${no_color}\u${reset_color}:${blue}\W/${reset_color} \[$(scm_prompt_info)\]$ " - RPROMPT='[\t]' + PS1="${no_color}\u${reset_color}:${blue}\W/${reset_color} \[$(scm_prompt_info)\]${normal}$ " } safe_append_prompt_command prompt_command