From 46eb96338e972160c311d942656c0eaf39ece319 Mon Sep 17 00:00:00 2001 From: Dan Kaplun Date: Wed, 7 Jan 2015 16:55:15 -0600 Subject: [PATCH] Fixes root coloring to not affect other symbols within the status --- bullet-train.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bullet-train.zsh-theme b/bullet-train.zsh-theme index d19578d..441709a 100644 --- a/bullet-train.zsh-theme +++ b/bullet-train.zsh-theme @@ -381,7 +381,7 @@ prompt_status() { symbols=() [[ $RETVAL -ne 0 && $BULLETTRAIN_STATUS_EXIT_SHOW != true ]] && symbols+="✘" [[ $RETVAL -ne 0 && $BULLETTRAIN_STATUS_EXIT_SHOW == true ]] && symbols+="✘ $RETVAL" - [[ $UID -eq 0 ]] && symbols+="%{%F{yellow}%}⚡" + [[ $UID -eq 0 ]] && symbols+="%{%F{yellow}%}⚡%f" [[ $(jobs -l | wc -l) -gt 0 ]] && symbols+="⚙" if [[ -n "$symbols" && $RETVAL -ne 0 ]] then