summaryrefslogtreecommitdiff
path: root/home-config/fish/functions/tide/configure/choices/powerline/powerline_prompt_heads.fish
blob: 0030cadfb86b1514e7f394dd36187ec70299c3cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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

    _tide_option 2 Slanted
    set -g fake_tide_left_prompt_suffix 
    set -g fake_tide_right_prompt_prefix 
    _tide_display_prompt

    _tide_option 3 Round
    set -g fake_tide_left_prompt_suffix 
    set -g fake_tide_right_prompt_prefix 
    _tide_display_prompt

    _tide_menu (status function)
    switch $_tide_selected_option
        case Sharp
            set -g fake_tide_left_prompt_suffix 
            set -g fake_tide_right_prompt_prefix 
        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 
    end
    _next_choice powerline/powerline_prompt_tails
end