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
if test $_tide_status = 0
set_color $tide_character_color
else
set_color $tide_character_color_failure
end
test $_tide_status = 0 && set_color $tide_character_color || set_color $tide_character_color_failure
if test "$fish_key_bindings" = fish_default_key_bindings
echo -ns $tide_character_icon
else
test "$fish_key_bindings" = fish_default_key_bindings && echo -ns $tide_character_icon ||
switch $fish_bind_mode
case insert
echo -ns $tide_character_icon
@ -19,4 +13,3 @@ function _tide_item_character
echo -ns $tide_character_vi_icon_visual
end
end
end