Fix character item spacing issue

This commit is contained in:
Ilan Cosman 2021-12-12 02:17:44 -08:00
parent 7224a99ba6
commit 1f0a972ac0
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -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