diff options
Diffstat (limited to 'home-config/fish/functions/tide/configure/choices/powerline/powerline_prompt_tails.fish')
-rw-r--r-- | home-config/fish/functions/tide/configure/choices/powerline/powerline_prompt_tails.fish | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/home-config/fish/functions/tide/configure/choices/powerline/powerline_prompt_tails.fish b/home-config/fish/functions/tide/configure/choices/powerline/powerline_prompt_tails.fish new file mode 100644 index 0000000..6b1574b --- /dev/null +++ b/home-config/fish/functions/tide/configure/choices/powerline/powerline_prompt_tails.fish | |||
@@ -0,0 +1,40 @@ | |||
1 | function powerline_prompt_tails | ||
2 | _tide_title 'Prompt Tails' | ||
3 | |||
4 | _tide_option 1 Flat | ||
5 | set -g fake_tide_left_prompt_prefix '' | ||
6 | set -g fake_tide_right_prompt_suffix '' | ||
7 | _tide_display_prompt | ||
8 | |||
9 | _tide_option 2 Sharp | ||
10 | set -g fake_tide_left_prompt_prefix | ||
11 | set -g fake_tide_right_prompt_suffix | ||
12 | _tide_display_prompt | ||
13 | |||
14 | _tide_option 3 Slanted | ||
15 | set -g fake_tide_left_prompt_prefix | ||
16 | set -g fake_tide_right_prompt_suffix | ||
17 | _tide_display_prompt | ||
18 | |||
19 | _tide_option 4 Round | ||
20 | set -g fake_tide_left_prompt_prefix | ||
21 | set -g fake_tide_right_prompt_suffix | ||
22 | _tide_display_prompt | ||
23 | |||
24 | _tide_menu (status function) | ||
25 | switch $_tide_selected_option | ||
26 | case Flat | ||
27 | set -g fake_tide_left_prompt_prefix '' | ||
28 | set -g fake_tide_right_prompt_suffix '' | ||
29 | case Sharp | ||
30 | set -g fake_tide_left_prompt_prefix | ||
31 | set -g fake_tide_right_prompt_suffix | ||
32 | case Slanted | ||
33 | set -g fake_tide_left_prompt_prefix | ||
34 | set -g fake_tide_right_prompt_suffix | ||
35 | case Round | ||
36 | set -g fake_tide_left_prompt_prefix | ||
37 | set -g fake_tide_right_prompt_suffix | ||
38 | end | ||
39 | _next_choice powerline/powerline_prompt_style | ||
40 | end | ||