From 8d0910b9e6bef88d7f0cdea84e24f69f10ba1cc6 Mon Sep 17 00:00:00 2001 From: Pablo Olmos de Aguilera Corradini Date: Sun, 27 Jan 2013 18:50:09 -0300 Subject: [PATCH] Make Sorin's prompt more friendly with solarized colours --- modules/prompt/functions/prompt_sorin_setup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/prompt/functions/prompt_sorin_setup b/modules/prompt/functions/prompt_sorin_setup index 3c2c55f5..b8b59036 100644 --- a/modules/prompt/functions/prompt_sorin_setup +++ b/modules/prompt/functions/prompt_sorin_setup @@ -47,9 +47,9 @@ function prompt_sorin_setup { add-zsh-hook precmd prompt_sorin_precmd zstyle ':prezto:module:editor:info:completing' format '%B%F{red}...%f%b' - zstyle ':prezto:module:editor:info:keymap:primary' format ' %B%F{red}❯%F{yellow}❯%F{green}❯%f%b' + zstyle ':prezto:module:editor:info:keymap:primary' format " ${1-%B}%F{red}❯%F{yellow}❯%F{green}❯%f${1-%b}" zstyle ':prezto:module:editor:info:keymap:primary:overwrite' format ' %F{red}♺%f' - zstyle ':prezto:module:editor:info:keymap:alternate' format ' %B%F{green}❮%F{yellow}❮%F{red}❮%f%b' + zstyle ':prezto:module:editor:info:keymap:alternate' format " ${2-%B}%F{green}❮%F{yellow}❮%F{red}❮%f${2-%b}" zstyle ':prezto:module:git:info:action' format ':%%B%F{yellow}%s%f%%b' zstyle ':prezto:module:git:info:added' format ' %%B%F{green}✚%f%%b' zstyle ':prezto:module:git:info:ahead' format ' %%B%F{yellow}⬆%f%%b'