diff --git a/functions/_tide_item_git.fish b/functions/_tide_item_git.fish index da126a58..a1ae3fcd 100644 --- a/functions/_tide_item_git.fish +++ b/functions/_tide_item_git.fish @@ -61,7 +61,7 @@ function _tide_item_git set -g tide_git_bg_color $tide_git_bg_color_unstable end - if test "$tide_git_icon_true" + if set -q tide_git_icon_true _tide_print_item git $_tide_location_color$tide_git_icon' ' (set_color white; echo -ns $location $tide_git_icon_spacer set_color $tide_git_color_operation; echo -ns ' '$operation ' '$step/$total_steps set_color $tide_git_color_upstream; echo -ns $tide_git_icon_upstream_behind$behind tide_git_icon_upstream_ahead$ahead