Minor edits to character item

This commit is contained in:
Ilan Cosman 2021-11-11 10:46:04 -08:00
parent 267187e0de
commit ac63f94075

View File

@ -1,13 +1,7 @@
function _tide_item_character function _tide_item_character
if test $_tide_status = 0 test $_tide_status = 0 && set_color $tide_character_color || set_color $tide_character_color_failure
set_color $tide_character_color
else
set_color $tide_character_color_failure
end
if test "$fish_key_bindings" = fish_default_key_bindings test "$fish_key_bindings" = fish_default_key_bindings && echo -ns $tide_character_icon ||
echo -ns $tide_character_icon
else
switch $fish_bind_mode switch $fish_bind_mode
case insert case insert
echo -ns $tide_character_icon echo -ns $tide_character_icon
@ -18,5 +12,4 @@ function _tide_item_character
case visual case visual
echo -ns $tide_character_vi_icon_visual echo -ns $tide_character_vi_icon_visual
end end
end
end end