From 4dd6a6d3ca2ddcab1ae44da167fd0df90e1e9fb5 Mon Sep 17 00:00:00 2001 From: Caesar Schinas Date: Tue, 17 May 2016 17:38:01 -0300 Subject: [PATCH] Change colors for git staged and stashed statuses --- fish_prompt.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fish_prompt.fish b/fish_prompt.fish index 051e99a..5a5106e 100644 --- a/fish_prompt.fish +++ b/fish_prompt.fish @@ -404,10 +404,10 @@ function __bobthefish_prompt_git -S -a current_dir -d 'Display the actual git st set -l flag_bg $__bobthefish_lt_green set -l flag_fg $__bobthefish_dk_green - if [ "$dirty" -o "$staged" ] + if [ "$dirty" ] set flag_bg $__bobthefish_med_red set flag_fg fff - else if [ "$stashed" ] + else if [ "$staged" ] set flag_bg $__bobthefish_lt_orange set flag_fg $__bobthefish_dk_orange end