dotfiles/fish/functions/tide/configure/choices/powerline/powerline_prompt_heads.fish

33 lines
989 B
Fish
Raw Normal View History

2023-10-08 22:26:07 -05:00
function powerline_prompt_heads
_tide_title 'Prompt Heads'
_tide_option 1 Sharp
set -g fake_tide_left_prompt_suffix
set -g fake_tide_right_prompt_prefix
_tide_display_prompt
2023-11-20 11:20:55 -06:00
_tide_option 2 Slanted
set -g fake_tide_left_prompt_suffix
set -g fake_tide_right_prompt_prefix
2023-10-08 22:26:07 -05:00
_tide_display_prompt
2023-11-20 11:20:55 -06:00
_tide_option 3 Round
set -g fake_tide_left_prompt_suffix
set -g fake_tide_right_prompt_prefix
2023-10-08 22:26:07 -05:00
_tide_display_prompt
2023-11-20 11:20:55 -06:00
_tide_menu (status function)
2023-10-08 22:26:07 -05:00
switch $_tide_selected_option
2023-11-20 11:20:55 -06:00
case Sharp
2023-10-08 22:26:07 -05:00
set -g fake_tide_left_prompt_suffix
set -g fake_tide_right_prompt_prefix
2023-11-20 11:20:55 -06:00
case Slanted
set -g fake_tide_left_prompt_suffix
set -g fake_tide_right_prompt_prefix
case Round
set -g fake_tide_left_prompt_suffix
set -g fake_tide_right_prompt_prefix
2023-10-08 22:26:07 -05:00
end
_next_choice powerline/powerline_prompt_tails
end