summaryrefslogtreecommitdiff
path: root/home-config/fish/functions/tide/configure/choices/powerline/powerline_right_prompt_frame.fish
blob: a2d0a5b550dbb5902b2a9b05ad4879a1e037e43d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
function powerline_right_prompt_frame
    _tide_title 'Right Prompt Frame'

    _tide_option 1 No
    set fake_tide_right_prompt_frame_enabled false
    _tide_display_prompt

    _tide_option 2 Yes
    set fake_tide_right_prompt_frame_enabled true
    _tide_display_prompt

    _tide_menu (status function)
    switch $_tide_selected_option
        case No
            set fake_tide_right_prompt_frame_enabled false
        case Yes
            set fake_tide_right_prompt_frame_enabled true
    end
    _next_choice all/prompt_connection_andor_frame_color
end