2023-10-08 22:26:07 -05:00
|
|
|
function powerline_prompt_tails
|
|
|
|
_tide_title 'Prompt Tails'
|
|
|
|
|
|
|
|
_tide_option 1 Flat
|
|
|
|
set -g fake_tide_left_prompt_prefix ''
|
|
|
|
set -g fake_tide_right_prompt_suffix ''
|
|
|
|
_tide_display_prompt
|
|
|
|
|
2023-11-20 11:20:55 -06:00
|
|
|
_tide_option 2 Sharp
|
2023-10-08 22:26:07 -05:00
|
|
|
set -g fake_tide_left_prompt_prefix
|
|
|
|
set -g fake_tide_right_prompt_suffix
|
|
|
|
_tide_display_prompt
|
|
|
|
|
2023-11-20 11:20:55 -06:00
|
|
|
_tide_option 3 Slanted
|
|
|
|
set -g fake_tide_left_prompt_prefix
|
|
|
|
set -g fake_tide_right_prompt_suffix
|
2023-10-08 22:26:07 -05:00
|
|
|
_tide_display_prompt
|
|
|
|
|
2023-11-20 11:20:55 -06:00
|
|
|
_tide_option 4 Round
|
|
|
|
set -g fake_tide_left_prompt_prefix
|
|
|
|
set -g fake_tide_right_prompt_suffix
|
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 Flat
|
2023-10-08 22:26:07 -05:00
|
|
|
set -g fake_tide_left_prompt_prefix ''
|
|
|
|
set -g fake_tide_right_prompt_suffix ''
|
2023-11-20 11:20:55 -06:00
|
|
|
case Sharp
|
2023-10-08 22:26:07 -05:00
|
|
|
set -g fake_tide_left_prompt_prefix
|
|
|
|
set -g fake_tide_right_prompt_suffix
|
2023-11-20 11:20:55 -06:00
|
|
|
case Slanted
|
|
|
|
set -g fake_tide_left_prompt_prefix
|
|
|
|
set -g fake_tide_right_prompt_suffix
|
|
|
|
case Round
|
|
|
|
set -g fake_tide_left_prompt_prefix
|
|
|
|
set -g fake_tide_right_prompt_suffix
|
2023-10-08 22:26:07 -05:00
|
|
|
end
|
2023-11-20 11:20:55 -06:00
|
|
|
_next_choice powerline/powerline_prompt_style
|
2023-10-08 22:26:07 -05:00
|
|
|
end
|