From 89cda861ba2a89d45d1d7b39be1a15d43f9b4908 Mon Sep 17 00:00:00 2001 From: Justin Hileman Date: Sat, 23 Dec 2017 19:39:26 -0800 Subject: [PATCH] Style change, for consistency. --- fish_prompt.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fish_prompt.fish b/fish_prompt.fish index 0cfae19..629dfb5 100644 --- a/fish_prompt.fish +++ b/fish_prompt.fish @@ -297,7 +297,7 @@ function __bobthefish_path_segment -S -a current_dir -d 'Display a shortened for end function __bobthefish_finish_segments -S -d 'Close open prompt segments' - if [ "$__bobthefish_current_bg" != '' ] + if [ -n "$__bobthefish_current_bg" ] set_color normal set_color $__bobthefish_current_bg echo -ns $__bobthefish_right_black_arrow_glyph ' '