Swithed from IlanCosman to plttn version of tide

This commit is contained in:
Ivan Golikov 2026-05-27 21:47:46 +02:00
parent 0ed893ecd0
commit 292c618236
39 changed files with 693 additions and 201 deletions

View file

@ -14,7 +14,7 @@ function finish
switch $_tide_selected_option
case 'Overwrite your current tide config'
_tide_finish
command -q clear && clear
command -q clear && status is-interactive && clear
set -q _flag_auto || _tide_print_configure_current_options
case 'Exit and print the config you just generated'
_tide_exit_configure

View file

@ -13,7 +13,7 @@ function icons
case 'Few icons'
_disable_icons
end
_next_choice all/transient
_next_choice all/finish
end
function _enable_icons
@ -22,6 +22,7 @@ function _enable_icons
set -g fake_tide_pwd_icon_home
set -g fake_tide_cmd_duration_icon
set -g fake_tide_git_icon
set -g fake_tide_jj_icon
end
function _disable_icons
@ -30,4 +31,5 @@ function _disable_icons
set fake_tide_pwd_icon_home
set fake_tide_cmd_duration_icon
set fake_tide_git_icon
set fake_tide_jj_icon
end

View file

@ -1,22 +0,0 @@
function transient
_tide_title 'Enable transient prompt?'
_tide_option 1 No
_tide_display_prompt
_tide_display_prompt
_tide_display_prompt
_tide_option 2 Yes
_configure_transient= _tide_display_prompt
_configure_transient= _tide_display_prompt
_tide_display_prompt
_tide_menu (status function)
switch $_tide_selected_option
case No
set fake_tide_prompt_transient_enabled false
case Yes
set fake_tide_prompt_transient_enabled true
end
_next_choice all/finish
end