home-config/fish/functions/tide/configure/choices/rainbow/rainbow_prompt_separators.fish

b7559d2d6b6bc46c482c01cdfc03091d8352944e · 1.5 KB · 40 lines raw

1 function rainbow_prompt_separators
2 _tide_title 'Prompt Separators'
3
4 _tide_option 1 Angled
5 set -g fake_tide_left_prompt_separator_diff_color 
6 set -g fake_tide_right_prompt_separator_diff_color 
7 _tide_display_prompt
8
9 _tide_option 2 Vertical
10 set -g fake_tide_left_prompt_separator_diff_color ''
11 set -g fake_tide_right_prompt_separator_diff_color ''
12 _tide_display_prompt
13
14 _tide_option 3 Slanted
15 set -g fake_tide_left_prompt_separator_diff_color ''
16 set -g fake_tide_right_prompt_separator_diff_color ''
17 _tide_display_prompt
18
19 _tide_option 4 Round
20 set -g fake_tide_left_prompt_separator_diff_color ''
21 set -g fake_tide_right_prompt_separator_diff_color ''
22 _tide_display_prompt
23
24 _tide_menu (status function)
25 switch $_tide_selected_option
26 case Angled
27 set -g fake_tide_left_prompt_separator_diff_color 
28 set -g fake_tide_right_prompt_separator_diff_color 
29 case Vertical
30 set -g fake_tide_left_prompt_separator_diff_color ''
31 set -g fake_tide_right_prompt_separator_diff_color ''
32 case Slanted
33 set -g fake_tide_left_prompt_separator_diff_color ''
34 set -g fake_tide_right_prompt_separator_diff_color ''
35 case Round
36 set -g fake_tide_left_prompt_separator_diff_color ''
37 set -g fake_tide_right_prompt_separator_diff_color ''
38 end
39 _next_choice powerline/powerline_prompt_heads
40 end