home-config/fish/functions/tide/configure/choices/powerline/powerline_right_prompt_frame.fish
6eb6fb8984eb2c898a4c77beddc134c17f3d37fc
· 560 B · 20 lines
raw
| 1 | function powerline_right_prompt_frame |
| 2 | _tide_title 'Right Prompt Frame' |
| 3 | |
| 4 | _tide_option 1 No |
| 5 | set fake_tide_right_prompt_frame_enabled false |
| 6 | _tide_display_prompt |
| 7 | |
| 8 | _tide_option 2 Yes |
| 9 | set fake_tide_right_prompt_frame_enabled true |
| 10 | _tide_display_prompt |
| 11 | |
| 12 | _tide_menu (status function) |
| 13 | switch $_tide_selected_option |
| 14 | case No |
| 15 | set fake_tide_right_prompt_frame_enabled false |
| 16 | case Yes |
| 17 | set fake_tide_right_prompt_frame_enabled true |
| 18 | end |
| 19 | _next_choice all/prompt_connection_andor_frame_color |
| 20 | end |