From b88768512ae7ab4f0aecbc5213901675894d552c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Fernando=20S=C3=A1nchez?= Date: Tue, 29 Nov 2016 12:06:11 +0100 Subject: [PATCH] Removed hard-coded colors in my zsh theme Now I can use the theme in light terminal themes. Before this, it always showed a black background in the in the prompt, which looks horrible in light themes. --- zsh/.zsh-custom/prompt_balkian_setup | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zsh/.zsh-custom/prompt_balkian_setup b/zsh/.zsh-custom/prompt_balkian_setup index 265283c..277db2b 100644 --- a/zsh/.zsh-custom/prompt_balkian_setup +++ b/zsh/.zsh-custom/prompt_balkian_setup @@ -6,7 +6,7 @@ # # Authors: # Isaac Wolkerstorfer -# Jeff Sandberg +# Jeff Sandberg # Sorin Ionescu # # Screenshots: @@ -47,11 +47,11 @@ function prompt_balkian_end_segment { } function prompt_balkian_build_prompt { - prompt_balkian_start_segment black default '%(?::%F{red}✘ )%(!:%F{yellow}⚡ :)%(1j:%F{cyan}⚙ :)%F{${hostnamecolor}}%n%F{white}@%F{${hostnamecolor}}%m%f' - prompt_balkian_start_segment black default '$_prompt_balkian_pwd' + prompt_balkian_start_segment default default '%(?::%F{red}✘ )%(!:%F{yellow}⚡ :)%(1j:%F{cyan}⚙ :)%F{${hostnamecolor}}%n%F{white}@%F{${hostnamecolor}}%m%f' + prompt_balkian_start_segment default default '$_prompt_balkian_pwd' if [[ -n "$git_info" ]]; then - prompt_balkian_start_segment black yellow '${(e)git_info[ref]}${(e)git_info[status]}' + prompt_balkian_start_segment "" yellow '${(e)git_info[ref]}${(e)git_info[status]}' fi prompt_balkian_end_segment