Update tide to v6

This commit is contained in:
2025-03-18 20:17:15 +01:00
parent 8303887c16
commit b47ede3300
57 changed files with 623 additions and 469 deletions

View File

@@ -7,20 +7,22 @@ function show_time
set -a fake_tide_right_prompt_items time
_tide_option 2 '24-hour format'
_tide_display_prompt fake_tide_time_format %T
set -g fake_tide_time_format %T
_tide_display_prompt
_tide_option 3 '12-hour format'
_tide_display_prompt fake_tide_time_format '%r'
set -g fake_tide_time_format %r
_tide_display_prompt
_tide_menu
_tide_menu (status function)
switch $_tide_selected_option
case 1
case No
set -g fake_tide_time_format ''
set -e fake_tide_right_prompt_items[-1]
case 2
case '24-hour format'
set -g fake_tide_time_format %T
case 3
set -g fake_tide_time_format '%r'
case '12-hour format'
set -g fake_tide_time_format %r
end
switch $_tide_configure_style
case lean