mirror of
https://github.com/IlanCosman/tide.git
synced 2025-01-05 11:20:19 +03:00
Use default name variables for character
This commit is contained in:
parent
c8b1683328
commit
67b1e76da3
@ -1,10 +1,6 @@
|
||||
function _tide_item_character
|
||||
if test $_tide_last_status = 0
|
||||
set -g tide_character_color $tide_character_color_success
|
||||
else
|
||||
set -g tide_character_color $tide_character_color_failure
|
||||
end
|
||||
|
||||
test $_tide_last_status = 0 || set -g tide_character_color $tide_character_color_failure
|
||||
|
||||
if test "$fish_key_bindings" = fish_default_key_bindings
|
||||
_tide_print_item character $tide_character_icon
|
||||
else
|
||||
|
@ -1,6 +1,6 @@
|
||||
tide_character_bg_color normal
|
||||
tide_character_color_failure FF0000
|
||||
tide_character_color_success $_tide_color_green
|
||||
tide_character_color $_tide_color_green
|
||||
tide_character_icon '❯'
|
||||
tide_character_vi_icon_default '❮'
|
||||
tide_character_vi_icon_replace '▶'
|
||||
|
@ -1,6 +1,6 @@
|
||||
tide_character_bg_color normal
|
||||
tide_character_color_failure brred
|
||||
tide_character_color_success brgreen
|
||||
tide_character_color brgreen
|
||||
tide_chruby_bg_color black
|
||||
tide_chruby_color red
|
||||
tide_cmd_duration_bg_color black
|
||||
|
@ -1,6 +1,6 @@
|
||||
tide_character_bg_color normal
|
||||
tide_character_color_failure FF0000
|
||||
tide_character_color_success $_tide_color_green
|
||||
tide_character_color $_tide_color_green
|
||||
tide_character_icon '❯'
|
||||
tide_character_vi_icon_default '❮'
|
||||
tide_character_vi_icon_replace '▶'
|
||||
|
@ -1,6 +1,6 @@
|
||||
tide_character_bg_color normal
|
||||
tide_character_color_failure brred
|
||||
tide_character_color_success brgreen
|
||||
tide_character_color brgreen
|
||||
tide_chruby_bg_color normal
|
||||
tide_chruby_color red
|
||||
tide_cmd_duration_bg_color normal
|
||||
|
@ -1,6 +1,6 @@
|
||||
tide_character_bg_color normal
|
||||
tide_character_color_failure FF0000
|
||||
tide_character_color_success $_tide_color_green
|
||||
tide_character_color $_tide_color_green
|
||||
tide_character_icon '❯'
|
||||
tide_character_vi_icon_default '❮'
|
||||
tide_character_vi_icon_replace '▶'
|
||||
|
@ -1,6 +1,6 @@
|
||||
tide_character_bg_color normal
|
||||
tide_character_color_failure brred
|
||||
tide_character_color_success brgreen
|
||||
tide_character_color brgreen
|
||||
tide_chruby_bg_color red
|
||||
tide_chruby_color black
|
||||
tide_cmd_duration_bg_color yellow
|
||||
|
@ -1,3 +1,3 @@
|
||||
function _fake_tide_item_character
|
||||
fake_tide_character_color=$fake_tide_character_color_success _fake_tide_print_item character '❯ '
|
||||
_fake_tide_print_item character '❯ '
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user