summaryrefslogtreecommitdiff
path: root/home-config/fish/functions/tide/configure/choices/classic/classic_prompt_separators.fish
blob: 20af6cda0e6bee45dd8ec8da43683bc82d5ea8d1 (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
33
34
35
36
37
38
39
40
function classic_prompt_separators
    _tide_title 'Prompt Separators'

    _tide_option 1 Angled
    set -g fake_tide_left_prompt_separator_same_color 
    set -g fake_tide_right_prompt_separator_same_color 
    _tide_display_prompt

    _tide_option 2 Vertical
    set -g fake_tide_left_prompt_separator_same_color │
    set -g fake_tide_right_prompt_separator_same_color │
    _tide_display_prompt

    _tide_option 3 Slanted
    set -g fake_tide_left_prompt_separator_same_color ╱
    set -g fake_tide_right_prompt_separator_same_color ╱
    _tide_display_prompt

    _tide_option 4 Round
    set -g fake_tide_left_prompt_separator_same_color 
    set -g fake_tide_right_prompt_separator_same_color 
    _tide_display_prompt

    _tide_menu (status function)
    switch $_tide_selected_option
        case Angled
            set -g fake_tide_left_prompt_separator_same_color 
            set -g fake_tide_right_prompt_separator_same_color 
        case Vertical
            set -g fake_tide_left_prompt_separator_same_color │
            set -g fake_tide_right_prompt_separator_same_color │
        case Slanted
            set -g fake_tide_left_prompt_separator_same_color ╱
            set -g fake_tide_right_prompt_separator_same_color ╱
        case Round
            set -g fake_tide_left_prompt_separator_same_color 
            set -g fake_tide_right_prompt_separator_same_color 
    end
    _next_choice powerline/powerline_prompt_heads
end