diff options
author | Ryan Schanzenbacher <ryan@rschanz.org> | 2024-04-05 11:57:45 -0400 |
---|---|---|
committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2024-04-05 11:57:45 -0400 |
commit | b88d77fb2d0d5028a6f5670695dee6bec129501f (patch) | |
tree | 2536b0461d297e647cf07157641c9b1223339adf /home-config/fish/functions/tide/configure/choices/powerline/powerline_prompt_heads.fish | |
parent | 776a7ca55d2d2c3f396de91db1c6c3c5065012cd (diff) |
ahhh sloppy fish, still needs fixing, esp with the vars
Diffstat (limited to 'home-config/fish/functions/tide/configure/choices/powerline/powerline_prompt_heads.fish')
-rw-r--r-- | home-config/fish/functions/tide/configure/choices/powerline/powerline_prompt_heads.fish | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/home-config/fish/functions/tide/configure/choices/powerline/powerline_prompt_heads.fish b/home-config/fish/functions/tide/configure/choices/powerline/powerline_prompt_heads.fish new file mode 100644 index 0000000..0030cad --- /dev/null +++ b/home-config/fish/functions/tide/configure/choices/powerline/powerline_prompt_heads.fish | |||
@@ -0,0 +1,32 @@ | |||
1 | function powerline_prompt_heads | ||
2 | _tide_title 'Prompt Heads' | ||
3 | |||
4 | _tide_option 1 Sharp | ||
5 | set -g fake_tide_left_prompt_suffix | ||
6 | set -g fake_tide_right_prompt_prefix | ||
7 | _tide_display_prompt | ||
8 | |||
9 | _tide_option 2 Slanted | ||
10 | set -g fake_tide_left_prompt_suffix | ||
11 | set -g fake_tide_right_prompt_prefix | ||
12 | _tide_display_prompt | ||
13 | |||
14 | _tide_option 3 Round | ||
15 | set -g fake_tide_left_prompt_suffix | ||
16 | set -g fake_tide_right_prompt_prefix | ||
17 | _tide_display_prompt | ||
18 | |||
19 | _tide_menu (status function) | ||
20 | switch $_tide_selected_option | ||
21 | case Sharp | ||
22 | set -g fake_tide_left_prompt_suffix | ||
23 | set -g fake_tide_right_prompt_prefix | ||
24 | case Slanted | ||
25 | set -g fake_tide_left_prompt_suffix | ||
26 | set -g fake_tide_right_prompt_prefix | ||
27 | case Round | ||
28 | set -g fake_tide_left_prompt_suffix | ||
29 | set -g fake_tide_right_prompt_prefix | ||
30 | end | ||
31 | _next_choice powerline/powerline_prompt_tails | ||
32 | end | ||