diff --git a/functions/_tide_item_character.fish b/functions/_tide_item_character.fish index d03715e..10bb324 100644 --- a/functions/_tide_item_character.fish +++ b/functions/_tide_item_character.fish @@ -1,6 +1,8 @@ function _tide_item_character test $_tide_status = 0 && set_color $tide_character_color || set_color $tide_character_color_failure + set -q add_prefix || echo -ns ' ' + test "$fish_key_bindings" = fish_default_key_bindings && echo -ns $tide_character_icon || switch $fish_bind_mode case insert diff --git a/functions/tide/configure/functions/_fake_tide_item_character.fish b/functions/tide/configure/functions/_fake_tide_item_character.fish index 3415cd7..73ae055 100644 --- a/functions/tide/configure/functions/_fake_tide_item_character.fish +++ b/functions/tide/configure/functions/_fake_tide_item_character.fish @@ -1,4 +1,5 @@ function _fake_tide_item_character set_color $fake_tide_character_color + contains newline $fake_tide_left_prompt_items || echo -ns ' ' echo -ns $fake_tide_character_icon end