summaryrefslogtreecommitdiff
path: root/home-config/fish/functions/tide
diff options
context:
space:
mode:
Diffstat (limited to 'home-config/fish/functions/tide')
-rw-r--r--home-config/fish/functions/tide/configure/choices/all/finish.fish46
-rw-r--r--home-config/fish/functions/tide/configure/choices/all/icons.fish33
-rw-r--r--home-config/fish/functions/tide/configure/choices/all/prompt_colors.fish26
-rw-r--r--home-config/fish/functions/tide/configure/choices/all/prompt_connection.fish31
-rw-r--r--home-config/fish/functions/tide/configure/choices/all/prompt_connection_andor_frame_color.fish40
-rw-r--r--home-config/fish/functions/tide/configure/choices/all/prompt_spacing.fish22
-rw-r--r--home-config/fish/functions/tide/configure/choices/all/show_time.fish33
-rw-r--r--home-config/fish/functions/tide/configure/choices/all/style.fish36
-rw-r--r--home-config/fish/functions/tide/configure/choices/all/transient.fish22
-rw-r--r--home-config/fish/functions/tide/configure/choices/classic/classic_prompt_color.fish38
-rw-r--r--home-config/fish/functions/tide/configure/choices/classic/classic_prompt_separators.fish40
-rw-r--r--home-config/fish/functions/tide/configure/choices/lean/lean_prompt_height.fish26
-rw-r--r--home-config/fish/functions/tide/configure/choices/powerline/powerline_prompt_heads.fish32
-rw-r--r--home-config/fish/functions/tide/configure/choices/powerline/powerline_prompt_style.fish51
-rw-r--r--home-config/fish/functions/tide/configure/choices/powerline/powerline_prompt_tails.fish40
-rw-r--r--home-config/fish/functions/tide/configure/choices/powerline/powerline_right_prompt_frame.fish20
-rw-r--r--home-config/fish/functions/tide/configure/choices/rainbow/rainbow_prompt_separators.fish40
-rw-r--r--home-config/fish/functions/tide/configure/configs/classic.fish116
-rw-r--r--home-config/fish/functions/tide/configure/configs/classic_16color.fish89
-rw-r--r--home-config/fish/functions/tide/configure/configs/lean.fish116
-rw-r--r--home-config/fish/functions/tide/configure/configs/lean_16color.fish89
-rw-r--r--home-config/fish/functions/tide/configure/configs/rainbow.fish116
-rw-r--r--home-config/fish/functions/tide/configure/configs/rainbow_16color.fish93
-rw-r--r--home-config/fish/functions/tide/configure/functions/_fake_tide_cache_variables.fish41
-rw-r--r--home-config/fish/functions/tide/configure/functions/_fake_tide_item_character.fish8
-rw-r--r--home-config/fish/functions/tide/configure/functions/_fake_tide_item_cmd_duration.fish3
-rw-r--r--home-config/fish/functions/tide/configure/functions/_fake_tide_item_git.fish3
-rw-r--r--home-config/fish/functions/tide/configure/functions/_fake_tide_item_newline.fish5
-rw-r--r--home-config/fish/functions/tide/configure/functions/_fake_tide_item_os.fish3
-rw-r--r--home-config/fish/functions/tide/configure/functions/_fake_tide_item_time.fish3
-rw-r--r--home-config/fish/functions/tide/configure/functions/_fake_tide_print_item.fish22
-rw-r--r--home-config/fish/functions/tide/configure/functions/_fake_tide_prompt.fish42
-rw-r--r--home-config/fish/functions/tide/configure/functions/_fake_tide_pwd.fish11
-rw-r--r--home-config/fish/functions/tide/configure/icons.fish40
34 files changed, 1376 insertions, 0 deletions
diff --git a/home-config/fish/functions/tide/configure/choices/all/finish.fish b/home-config/fish/functions/tide/configure/choices/all/finish.fish
new file mode 100644
index 0000000..f670b1e
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/choices/all/finish.fish
@@ -0,0 +1,46 @@
1function finish
2 _tide_title Finish
3
4 echo
5 set_color red
6 _tide_option y 'Overwrite your current tide config'
7 set_color normal
8 echo
9
10 _tide_option p 'Exit and print the config you just generated'
11 echo
12
13 _tide_menu (status function)
14 switch $_tide_selected_option
15 case 'Overwrite your current tide config'
16 _tide_finish
17 command -q clear && clear
18 set -q _flag_auto || _tide_print_configure_current_options
19 case 'Exit and print the config you just generated'
20 _tide_exit_configure
21 command -q clear && clear
22 _tide_print_configure_current_options
23 end
24end
25
26function _tide_finish
27 _tide_exit_configure
28
29 # Deal with prompt char/vi mode
30 contains character $fake_tide_left_prompt_items || set -p fake_tide_left_prompt_items vi_mode
31
32 # Set the real variables
33 for fakeVar in (set --names | string match -r "^fake_tide.*")
34 set -U (string replace 'fake_' '' $fakeVar) $$fakeVar
35 end
36
37 # Make sure old prompt won't display
38 set -e $_tide_prompt_var 2>/dev/null
39
40 # Re-initialize the prompt
41 tide reload
42end
43
44function _tide_print_configure_current_options
45 _tide_fish_colorize "tide configure --auto $_tide_configure_current_options"
46end
diff --git a/home-config/fish/functions/tide/configure/choices/all/icons.fish b/home-config/fish/functions/tide/configure/choices/all/icons.fish
new file mode 100644
index 0000000..be167bb
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/choices/all/icons.fish
@@ -0,0 +1,33 @@
1function icons
2 _tide_title Icons
3
4 _tide_option 1 'Few icons'
5 _tide_display_prompt
6
7 _tide_option 2 'Many icons'
8 _enable_icons
9 _tide_display_prompt
10
11 _tide_menu (status function)
12 switch $_tide_selected_option
13 case 'Few icons'
14 _disable_icons
15 end
16 _next_choice all/transient
17end
18
19function _enable_icons
20 set -p fake_tide_left_prompt_items os
21 set -g fake_tide_pwd_icon 
22 set -g fake_tide_pwd_icon_home 
23 set -g fake_tide_cmd_duration_icon 
24 set -g fake_tide_git_icon 
25end
26
27function _disable_icons
28 _tide_find_and_remove os fake_tide_left_prompt_items
29 set fake_tide_pwd_icon
30 set fake_tide_pwd_icon_home
31 set fake_tide_cmd_duration_icon
32 set fake_tide_git_icon
33end
diff --git a/home-config/fish/functions/tide/configure/choices/all/prompt_colors.fish b/home-config/fish/functions/tide/configure/choices/all/prompt_colors.fish
new file mode 100644
index 0000000..247ef4e
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/choices/all/prompt_colors.fish
@@ -0,0 +1,26 @@
1function prompt_colors
2 _tide_title 'Prompt Colors'
3
4 _tide_option 1 'True color'
5 _tide_display_prompt
6
7 _tide_option 2 '16 colors'
8 _load_config "$_tide_configure_style"_16color
9 set -g _tide_16color true
10 _tide_display_prompt
11
12 _tide_menu (status function)
13 switch $_tide_selected_option
14 case 'True color'
15 _load_config "$_tide_configure_style"
16 set -e _tide_16color
17 switch $_tide_configure_style
18 case lean rainbow
19 _next_choice all/show_time
20 case classic
21 _next_choice classic/classic_prompt_color
22 end
23 case '16 colors'
24 _next_choice all/show_time
25 end
26end
diff --git a/home-config/fish/functions/tide/configure/choices/all/prompt_connection.fish b/home-config/fish/functions/tide/configure/choices/all/prompt_connection.fish
new file mode 100644
index 0000000..ff76546
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/choices/all/prompt_connection.fish
@@ -0,0 +1,31 @@
1function prompt_connection
2 _tide_title 'Prompt Connection'
3
4 _tide_option 1 Disconnected
5 set -g fake_tide_prompt_icon_connection ' '
6 _tide_display_prompt
7
8 _tide_option 2 Dotted
9 set -g fake_tide_prompt_icon_connection '·'
10 _tide_display_prompt
11
12 _tide_option 3 Solid
13 set -g fake_tide_prompt_icon_connection '─'
14 _tide_display_prompt
15
16 _tide_menu (status function)
17 switch $_tide_selected_option
18 case Disconnected
19 set -g fake_tide_prompt_icon_connection ' '
20 case Dotted
21 set -g fake_tide_prompt_icon_connection '·'
22 case Solid
23 set -g fake_tide_prompt_icon_connection '─'
24 end
25 switch $_tide_configure_style
26 case lean
27 _next_choice all/prompt_connection_andor_frame_color
28 case classic rainbow
29 _next_choice powerline/powerline_right_prompt_frame
30 end
31end
diff --git a/home-config/fish/functions/tide/configure/choices/all/prompt_connection_andor_frame_color.fish b/home-config/fish/functions/tide/configure/choices/all/prompt_connection_andor_frame_color.fish
new file mode 100644
index 0000000..cefbf2c
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/choices/all/prompt_connection_andor_frame_color.fish
@@ -0,0 +1,40 @@
1function prompt_connection_andor_frame_color
2 if test "$_tide_16color" = true ||
3 test "$fake_tide_left_prompt_frame_enabled" = false -a \
4 "$fake_tide_right_prompt_frame_enabled" = false -a \
5 "$fake_tide_prompt_icon_connection" = ' '
6 _next_choice all/prompt_spacing
7 return 0
8 end
9
10 _tide_title "Connection & Frame Color"
11
12 _tide_option 1 Lightest
13 set -g fake_tide_prompt_color_frame_and_connection 808080
14 _tide_display_prompt
15
16 _tide_option 2 Light
17 set -g fake_tide_prompt_color_frame_and_connection 6C6C6C
18 _tide_display_prompt
19
20 _tide_option 3 Dark
21 set -g fake_tide_prompt_color_frame_and_connection 585858
22 _tide_display_prompt
23
24 _tide_option 4 Darkest
25 set -g fake_tide_prompt_color_frame_and_connection 444444
26 _tide_display_prompt
27
28 _tide_menu (status function)
29 switch $_tide_selected_option
30 case Lightest
31 set -g fake_tide_prompt_color_frame_and_connection 808080
32 case Light
33 set -g fake_tide_prompt_color_frame_and_connection 6C6C6C
34 case Dark
35 set -g fake_tide_prompt_color_frame_and_connection 585858
36 case Darkest
37 set -g fake_tide_prompt_color_frame_and_connection 444444
38 end
39 _next_choice all/prompt_spacing
40end
diff --git a/home-config/fish/functions/tide/configure/choices/all/prompt_spacing.fish b/home-config/fish/functions/tide/configure/choices/all/prompt_spacing.fish
new file mode 100644
index 0000000..f68be68
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/choices/all/prompt_spacing.fish
@@ -0,0 +1,22 @@
1function prompt_spacing
2 _tide_title 'Prompt Spacing'
3
4 _tide_option 1 Compact
5 set -g fake_tide_prompt_add_newline_before false
6 _tide_display_prompt
7 _tide_display_prompt
8
9 _tide_option 2 Sparse
10 set -g fake_tide_prompt_add_newline_before true
11 _tide_display_prompt
12 _tide_display_prompt
13
14 _tide_menu (status function)
15 switch $_tide_selected_option
16 case Compact
17 set -g fake_tide_prompt_add_newline_before false
18 case Sparse
19 set -g fake_tide_prompt_add_newline_before true
20 end
21 _next_choice all/icons
22end
diff --git a/home-config/fish/functions/tide/configure/choices/all/show_time.fish b/home-config/fish/functions/tide/configure/choices/all/show_time.fish
new file mode 100644
index 0000000..b66c785
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/choices/all/show_time.fish
@@ -0,0 +1,33 @@
1function show_time
2 _tide_title 'Show current time?'
3
4 _tide_option 1 No
5 _tide_display_prompt
6
7 set -a fake_tide_right_prompt_items time
8
9 _tide_option 2 '24-hour format'
10 set -g fake_tide_time_format %T
11 _tide_display_prompt
12
13 _tide_option 3 '12-hour format'
14 set -g fake_tide_time_format %r
15 _tide_display_prompt
16
17 _tide_menu (status function)
18 switch $_tide_selected_option
19 case No
20 set -g fake_tide_time_format ''
21 set -e fake_tide_right_prompt_items[-1]
22 case '24-hour format'
23 set -g fake_tide_time_format %T
24 case '12-hour format'
25 set -g fake_tide_time_format %r
26 end
27 switch $_tide_configure_style
28 case lean
29 _next_choice "$_tide_configure_style"/"$_tide_configure_style"_prompt_height
30 case classic rainbow
31 _next_choice "$_tide_configure_style"/"$_tide_configure_style"_prompt_separators
32 end
33end
diff --git a/home-config/fish/functions/tide/configure/choices/all/style.fish b/home-config/fish/functions/tide/configure/choices/all/style.fish
new file mode 100644
index 0000000..fe9a58f
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/choices/all/style.fish
@@ -0,0 +1,36 @@
1function style
2 set -g _tide_configure_current_options
3
4 _tide_title 'Prompt Style'
5
6 _tide_option 1 Lean
7 _load_config lean
8 _tide_display_prompt
9
10 _tide_option 2 Classic
11 _load_config classic
12 _tide_display_prompt
13
14 _tide_option 3 Rainbow
15 _load_config rainbow
16 _tide_display_prompt
17
18 _tide_menu (status function) --no-restart
19 switch $_tide_selected_option
20 case Lean
21 _load_config lean
22 set -g _tide_configure_style lean
23 case Classic
24 _load_config classic
25 set -g _tide_configure_style classic
26 case Rainbow
27 _load_config rainbow
28 set -g _tide_configure_style rainbow
29 end
30 _next_choice all/prompt_colors
31end
32
33function _load_config -a name
34 string replace -r '^' 'set -g fake_' <(status dirname)/../../icons.fish | source
35 string replace -r '^' 'set -g fake_' <(status dirname)/../../configs/$name.fish | source
36end
diff --git a/home-config/fish/functions/tide/configure/choices/all/transient.fish b/home-config/fish/functions/tide/configure/choices/all/transient.fish
new file mode 100644
index 0000000..df2b6b6
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/choices/all/transient.fish
@@ -0,0 +1,22 @@
1function transient
2 _tide_title 'Enable transient prompt?'
3
4 _tide_option 1 No
5 _tide_display_prompt
6 _tide_display_prompt
7 _tide_display_prompt
8
9 _tide_option 2 Yes
10 _configure_transient= _tide_display_prompt
11 _configure_transient= _tide_display_prompt
12 _tide_display_prompt
13
14 _tide_menu (status function)
15 switch $_tide_selected_option
16 case No
17 set fake_tide_prompt_transient_enabled false
18 case Yes
19 set fake_tide_prompt_transient_enabled true
20 end
21 _next_choice all/finish
22end
diff --git a/home-config/fish/functions/tide/configure/choices/classic/classic_prompt_color.fish b/home-config/fish/functions/tide/configure/choices/classic/classic_prompt_color.fish
new file mode 100644
index 0000000..77ceeaf
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/choices/classic/classic_prompt_color.fish
@@ -0,0 +1,38 @@
1function classic_prompt_color
2 _tide_title 'Prompt Color'
3
4 _tide_option 1 Lightest
5 _set_all_items_bg_color 585858
6 _tide_display_prompt
7
8 _tide_option 2 Light
9 _set_all_items_bg_color 444444
10 _tide_display_prompt
11
12 _tide_option 3 Dark
13 _set_all_items_bg_color 303030
14 _tide_display_prompt
15
16 _tide_option 4 Darkest
17 _set_all_items_bg_color 1C1C1C
18 _tide_display_prompt
19
20 _tide_menu (status function)
21 switch $_tide_selected_option
22 case Lightest
23 _set_all_items_bg_color 585858
24 case Light
25 _set_all_items_bg_color 444444
26 case Dark
27 _set_all_items_bg_color 303030
28 case Darkest
29 _set_all_items_bg_color 1C1C1C
30 end
31 _next_choice all/show_time
32end
33
34function _set_all_items_bg_color -a color
35 for var in (set --names | string match -r "fake_.*_bg_color.*")
36 set $var $color
37 end
38end
diff --git a/home-config/fish/functions/tide/configure/choices/classic/classic_prompt_separators.fish b/home-config/fish/functions/tide/configure/choices/classic/classic_prompt_separators.fish
new file mode 100644
index 0000000..20af6cd
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/choices/classic/classic_prompt_separators.fish
@@ -0,0 +1,40 @@
1function classic_prompt_separators
2 _tide_title 'Prompt Separators'
3
4 _tide_option 1 Angled
5 set -g fake_tide_left_prompt_separator_same_color 
6 set -g fake_tide_right_prompt_separator_same_color 
7 _tide_display_prompt
8
9 _tide_option 2 Vertical
10 set -g fake_tide_left_prompt_separator_same_color │
11 set -g fake_tide_right_prompt_separator_same_color │
12 _tide_display_prompt
13
14 _tide_option 3 Slanted
15 set -g fake_tide_left_prompt_separator_same_color ╱
16 set -g fake_tide_right_prompt_separator_same_color ╱
17 _tide_display_prompt
18
19 _tide_option 4 Round
20 set -g fake_tide_left_prompt_separator_same_color 
21 set -g fake_tide_right_prompt_separator_same_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_same_color 
28 set -g fake_tide_right_prompt_separator_same_color 
29 case Vertical
30 set -g fake_tide_left_prompt_separator_same_color │
31 set -g fake_tide_right_prompt_separator_same_color │
32 case Slanted
33 set -g fake_tide_left_prompt_separator_same_color ╱
34 set -g fake_tide_right_prompt_separator_same_color ╱
35 case Round
36 set -g fake_tide_left_prompt_separator_same_color 
37 set -g fake_tide_right_prompt_separator_same_color 
38 end
39 _next_choice powerline/powerline_prompt_heads
40end
diff --git a/home-config/fish/functions/tide/configure/choices/lean/lean_prompt_height.fish b/home-config/fish/functions/tide/configure/choices/lean/lean_prompt_height.fish
new file mode 100644
index 0000000..2077241
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/choices/lean/lean_prompt_height.fish
@@ -0,0 +1,26 @@
1function lean_prompt_height
2 _tide_title 'Prompt Height'
3
4 _tide_option 1 'One line'
5 _tide_find_and_remove newline fake_tide_left_prompt_items
6 set -g fake_tide_left_prompt_suffix ''
7 _tide_display_prompt
8
9 _tide_option 2 'Two lines'
10 set -g fake_tide_left_prompt_items $fake_tide_left_prompt_items[1..-2] newline $fake_tide_left_prompt_items[-1]
11 set -g fake_tide_left_prompt_suffix ' '
12 _tide_display_prompt
13
14 _tide_menu (status function)
15 switch $_tide_selected_option
16 case 'One line'
17 _tide_find_and_remove newline fake_tide_left_prompt_items
18 set fake_tide_left_prompt_suffix ''
19 _next_choice all/prompt_connection_andor_frame_color
20 case 'Two lines'
21 _tide_find_and_remove newline fake_tide_left_prompt_items
22 set -g fake_tide_left_prompt_items $fake_tide_left_prompt_items[1..-2] newline $fake_tide_left_prompt_items[-1]
23 set -g fake_tide_left_prompt_suffix ' '
24 _next_choice all/prompt_connection
25 end
26end
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 @@
1function 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
32end
diff --git a/home-config/fish/functions/tide/configure/choices/powerline/powerline_prompt_style.fish b/home-config/fish/functions/tide/configure/choices/powerline/powerline_prompt_style.fish
new file mode 100644
index 0000000..b374757
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/choices/powerline/powerline_prompt_style.fish
@@ -0,0 +1,51 @@
1function powerline_prompt_style
2 _tide_title 'Powerline Prompt Style'
3
4 _tide_option 1 'One line'
5 _tide_find_and_remove newline fake_tide_left_prompt_items
6 _tide_find_and_remove character fake_tide_left_prompt_items
7 set fake_tide_left_prompt_frame_enabled false
8 set fake_tide_right_prompt_frame_enabled false
9 _tide_display_prompt
10
11 set -a fake_tide_left_prompt_items newline
12
13 _tide_option 2 'Two lines, character'
14 set -a fake_tide_left_prompt_items character
15 set fake_tide_left_prompt_frame_enabled false
16 set fake_tide_right_prompt_frame_enabled false
17 _tide_display_prompt
18
19 _tide_option 3 'Two lines, frame'
20 _tide_find_and_remove character fake_tide_left_prompt_items
21 set fake_tide_left_prompt_frame_enabled true
22 set fake_tide_right_prompt_frame_enabled true
23 _tide_display_prompt
24
25 _tide_option 4 'Two lines, character and frame'
26 set -a fake_tide_left_prompt_items character
27 set fake_tide_left_prompt_frame_enabled true
28 set fake_tide_right_prompt_frame_enabled true
29 _tide_display_prompt
30
31 _tide_menu (status function)
32 switch $_tide_selected_option
33 case 'One line'
34 _tide_find_and_remove newline fake_tide_left_prompt_items
35 _tide_find_and_remove character fake_tide_left_prompt_items
36 set fake_tide_left_prompt_frame_enabled false
37 set fake_tide_right_prompt_frame_enabled false
38 _next_choice all/prompt_connection_andor_frame_color
39 case 'Two lines, character'
40 set fake_tide_left_prompt_frame_enabled false
41 set fake_tide_right_prompt_frame_enabled false
42 _next_choice all/prompt_connection
43 case 'Two lines, frame'
44 _tide_find_and_remove character fake_tide_left_prompt_items
45 set fake_tide_left_prompt_frame_enabled true
46 set fake_tide_right_prompt_frame_enabled true
47 _next_choice all/prompt_connection
48 case 'Two lines, character and frame'
49 _next_choice all/prompt_connection
50 end
51end
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 @@
1function 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
40end
diff --git a/home-config/fish/functions/tide/configure/choices/powerline/powerline_right_prompt_frame.fish b/home-config/fish/functions/tide/configure/choices/powerline/powerline_right_prompt_frame.fish
new file mode 100644
index 0000000..a2d0a5b
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/choices/powerline/powerline_right_prompt_frame.fish
@@ -0,0 +1,20 @@
1function powerline_right_prompt_frame
2 _tide_title 'Right Prompt Frame'
3
4 _tide_option 1 No
5 set fake_tide_right_prompt_frame_enabled false
6 _tide_display_prompt
7
8 _tide_option 2 Yes
9 set fake_tide_right_prompt_frame_enabled true
10 _tide_display_prompt
11
12 _tide_menu (status function)
13 switch $_tide_selected_option
14 case No
15 set fake_tide_right_prompt_frame_enabled false
16 case Yes
17 set fake_tide_right_prompt_frame_enabled true
18 end
19 _next_choice all/prompt_connection_andor_frame_color
20end
diff --git a/home-config/fish/functions/tide/configure/choices/rainbow/rainbow_prompt_separators.fish b/home-config/fish/functions/tide/configure/choices/rainbow/rainbow_prompt_separators.fish
new file mode 100644
index 0000000..14b9319
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/choices/rainbow/rainbow_prompt_separators.fish
@@ -0,0 +1,40 @@
1function 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
40end
diff --git a/home-config/fish/functions/tide/configure/configs/classic.fish b/home-config/fish/functions/tide/configure/configs/classic.fish
new file mode 100644
index 0000000..8973cbc
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/configs/classic.fish
@@ -0,0 +1,116 @@
1tide_aws_bg_color 444444
2tide_aws_color FF9900
3tide_character_color $_tide_color_green
4tide_character_color_failure FF0000
5tide_cmd_duration_bg_color 444444
6tide_cmd_duration_color 87875F
7tide_cmd_duration_decimals 0
8tide_cmd_duration_threshold 3000
9tide_context_always_display false
10tide_context_bg_color 444444
11tide_context_color_default D7AF87
12tide_context_color_root $_tide_color_gold
13tide_context_color_ssh D7AF87
14tide_context_hostname_parts 1
15tide_crystal_bg_color 444444
16tide_crystal_color FFFFFF
17tide_direnv_bg_color 444444
18tide_direnv_bg_color_denied 444444
19tide_direnv_color $_tide_color_gold
20tide_direnv_color_denied FF0000
21tide_distrobox_bg_color 444444
22tide_distrobox_color FF00FF
23tide_docker_bg_color 444444
24tide_docker_color 2496ED
25tide_docker_default_contexts default colima
26tide_elixir_bg_color 444444
27tide_elixir_color 4E2A8E
28tide_gcloud_bg_color 444444
29tide_gcloud_color 4285F4
30tide_git_bg_color 444444
31tide_git_bg_color_unstable 444444
32tide_git_bg_color_urgent 444444
33tide_git_color_branch $_tide_color_green
34tide_git_color_conflicted FF0000
35tide_git_color_dirty $_tide_color_gold
36tide_git_color_operation FF0000
37tide_git_color_staged $_tide_color_gold
38tide_git_color_stash $_tide_color_green
39tide_git_color_untracked $_tide_color_light_blue
40tide_git_color_upstream $_tide_color_green
41tide_git_truncation_length 24
42tide_git_truncation_strategy
43tide_go_bg_color 444444
44tide_go_color 00ACD7
45tide_java_bg_color 444444
46tide_java_color ED8B00
47tide_jobs_bg_color 444444
48tide_jobs_color $_tide_color_dark_green
49tide_jobs_number_threshold 1000
50tide_kubectl_bg_color 444444
51tide_kubectl_color 326CE5
52tide_left_prompt_frame_enabled true
53tide_left_prompt_items pwd git newline
54tide_left_prompt_prefix ''
55tide_left_prompt_separator_diff_color 
56tide_left_prompt_separator_same_color 
57tide_left_prompt_suffix 
58tide_nix_shell_bg_color 444444
59tide_nix_shell_color 7EBAE4
60tide_node_bg_color 444444
61tide_node_color 44883E
62tide_os_bg_color 444444
63tide_os_color EEEEEE
64tide_php_bg_color 444444
65tide_php_color 617CBE
66tide_private_mode_bg_color 444444
67tide_private_mode_color FFFFFF
68tide_prompt_add_newline_before true
69tide_prompt_color_frame_and_connection 6C6C6C
70tide_prompt_color_separator_same_color 949494
71tide_prompt_min_cols 34
72tide_prompt_pad_items true
73tide_prompt_transient_enabled false
74tide_pulumi_bg_color 444444
75tide_pulumi_color F7BF2A
76tide_pwd_bg_color 444444
77tide_pwd_color_anchors $_tide_color_light_blue
78tide_pwd_color_dirs $_tide_color_dark_blue
79tide_pwd_color_truncated_dirs 8787AF
80tide_pwd_markers .bzr .citc .git .hg .node-version .python-version .ruby-version .shorten_folder_marker .svn .terraform Cargo.toml composer.json CVS go.mod package.json build.zig
81tide_python_bg_color 444444
82tide_python_color 00AFAF
83tide_right_prompt_frame_enabled true
84tide_right_prompt_items status cmd_duration context jobs direnv node python rustc java php pulumi ruby go gcloud kubectl distrobox toolbox terraform aws nix_shell crystal elixir zig
85tide_right_prompt_prefix 
86tide_right_prompt_separator_diff_color 
87tide_right_prompt_separator_same_color 
88tide_right_prompt_suffix ''
89tide_ruby_bg_color 444444
90tide_ruby_color B31209
91tide_rustc_bg_color 444444
92tide_rustc_color F74C00
93tide_shlvl_bg_color 444444
94tide_shlvl_color d78700
95tide_shlvl_threshold 1
96tide_status_bg_color 444444
97tide_status_bg_color_failure 444444
98tide_status_color $_tide_color_dark_green
99tide_status_color_failure D70000
100tide_terraform_bg_color 444444
101tide_terraform_color 844FBA
102tide_time_bg_color 444444
103tide_time_color 5F8787
104tide_time_format %T
105tide_toolbox_bg_color 444444
106tide_toolbox_color 613583
107tide_vi_mode_bg_color_default 444444
108tide_vi_mode_bg_color_insert 444444
109tide_vi_mode_bg_color_replace 444444
110tide_vi_mode_bg_color_visual 444444
111tide_vi_mode_color_default 949494
112tide_vi_mode_color_insert 87AFAF
113tide_vi_mode_color_replace 87AF87
114tide_vi_mode_color_visual FF8700
115tide_zig_bg_color 444444
116tide_zig_color F7A41D
diff --git a/home-config/fish/functions/tide/configure/configs/classic_16color.fish b/home-config/fish/functions/tide/configure/configs/classic_16color.fish
new file mode 100644
index 0000000..670170f
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/configs/classic_16color.fish
@@ -0,0 +1,89 @@
1tide_aws_bg_color black
2tide_aws_color yellow
3tide_character_color brgreen
4tide_character_color_failure brred
5tide_cmd_duration_bg_color black
6tide_cmd_duration_color brblack
7tide_context_bg_color black
8tide_context_color_default yellow
9tide_context_color_root bryellow
10tide_context_color_ssh yellow
11tide_crystal_bg_color black
12tide_crystal_color brwhite
13tide_direnv_bg_color black
14tide_direnv_bg_color_denied black
15tide_direnv_color bryellow
16tide_direnv_color_denied brred
17tide_distrobox_bg_color black
18tide_distrobox_color brmagenta
19tide_docker_bg_color black
20tide_docker_color blue
21tide_elixir_bg_color black
22tide_elixir_color magenta
23tide_gcloud_bg_color black
24tide_gcloud_color blue
25tide_git_bg_color black
26tide_git_bg_color_unstable black
27tide_git_bg_color_urgent black
28tide_git_color_branch brgreen
29tide_git_color_conflicted brred
30tide_git_color_dirty bryellow
31tide_git_color_operation brred
32tide_git_color_staged bryellow
33tide_git_color_stash brgreen
34tide_git_color_untracked brblue
35tide_git_color_upstream brgreen
36tide_go_bg_color black
37tide_go_color brcyan
38tide_java_bg_color black
39tide_java_color yellow
40tide_jobs_bg_color black
41tide_jobs_color green
42tide_kubectl_bg_color black
43tide_kubectl_color blue
44tide_nix_shell_bg_color black
45tide_nix_shell_color brblue
46tide_node_bg_color black
47tide_node_color green
48tide_os_bg_color black
49tide_os_color brwhite
50tide_php_bg_color black
51tide_php_color blue
52tide_private_mode_bg_color black
53tide_private_mode_color brwhite
54tide_prompt_color_frame_and_connection brblack
55tide_prompt_color_separator_same_color brblack
56tide_pulumi_bg_color black
57tide_pulumi_color yellow
58tide_pwd_bg_color black
59tide_pwd_color_anchors brcyan
60tide_pwd_color_dirs cyan
61tide_pwd_color_truncated_dirs magenta
62tide_python_bg_color black
63tide_python_color cyan
64tide_ruby_bg_color black
65tide_ruby_color red
66tide_rustc_bg_color black
67tide_rustc_color red
68tide_shlvl_bg_color black
69tide_shlvl_color yellow
70tide_status_bg_color black
71tide_status_bg_color_failure black
72tide_status_color green
73tide_status_color_failure red
74tide_terraform_bg_color black
75tide_terraform_color magenta
76tide_time_bg_color black
77tide_time_color brblack
78tide_toolbox_bg_color black
79tide_toolbox_color magenta
80tide_vi_mode_bg_color_default black
81tide_vi_mode_bg_color_insert black
82tide_vi_mode_bg_color_replace black
83tide_vi_mode_bg_color_visual black
84tide_vi_mode_color_default white
85tide_vi_mode_color_insert cyan
86tide_vi_mode_color_replace green
87tide_vi_mode_color_visual yellow
88tide_zig_bg_color black
89tide_zig_color yellow
diff --git a/home-config/fish/functions/tide/configure/configs/lean.fish b/home-config/fish/functions/tide/configure/configs/lean.fish
new file mode 100644
index 0000000..a958a17
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/configs/lean.fish
@@ -0,0 +1,116 @@
1tide_aws_bg_color normal
2tide_aws_color FF9900
3tide_character_color $_tide_color_green
4tide_character_color_failure FF0000
5tide_cmd_duration_bg_color normal
6tide_cmd_duration_color 87875F
7tide_cmd_duration_decimals 0
8tide_cmd_duration_threshold 3000
9tide_context_always_display false
10tide_context_bg_color normal
11tide_context_color_default D7AF87
12tide_context_color_root $_tide_color_gold
13tide_context_color_ssh D7AF87
14tide_context_hostname_parts 1
15tide_crystal_bg_color normal
16tide_crystal_color FFFFFF
17tide_direnv_bg_color normal
18tide_direnv_bg_color_denied normal
19tide_direnv_color $_tide_color_gold
20tide_direnv_color_denied FF0000
21tide_distrobox_bg_color normal
22tide_distrobox_color FF00FF
23tide_docker_bg_color normal
24tide_docker_color 2496ED
25tide_docker_default_contexts default colima
26tide_elixir_bg_color normal
27tide_elixir_color 4E2A8E
28tide_gcloud_bg_color normal
29tide_gcloud_color 4285F4
30tide_git_bg_color normal
31tide_git_bg_color_unstable normal
32tide_git_bg_color_urgent normal
33tide_git_color_branch $_tide_color_green
34tide_git_color_conflicted FF0000
35tide_git_color_dirty $_tide_color_gold
36tide_git_color_operation FF0000
37tide_git_color_staged $_tide_color_gold
38tide_git_color_stash $_tide_color_green
39tide_git_color_untracked $_tide_color_light_blue
40tide_git_color_upstream $_tide_color_green
41tide_git_truncation_length 24
42tide_git_truncation_strategy
43tide_go_bg_color normal
44tide_go_color 00ACD7
45tide_java_bg_color normal
46tide_java_color ED8B00
47tide_jobs_bg_color normal
48tide_jobs_color $_tide_color_dark_green
49tide_jobs_number_threshold 1000
50tide_kubectl_bg_color normal
51tide_kubectl_color 326CE5
52tide_left_prompt_frame_enabled false
53tide_left_prompt_items pwd git newline character
54tide_left_prompt_prefix ''
55tide_left_prompt_separator_diff_color ' '
56tide_left_prompt_separator_same_color ' '
57tide_left_prompt_suffix ' '
58tide_nix_shell_bg_color normal
59tide_nix_shell_color 7EBAE4
60tide_node_bg_color normal
61tide_node_color 44883E
62tide_os_bg_color normal
63tide_os_color normal
64tide_php_bg_color normal
65tide_php_color 617CBE
66tide_private_mode_bg_color normal
67tide_private_mode_color FFFFFF
68tide_prompt_add_newline_before true
69tide_prompt_color_frame_and_connection 6C6C6C
70tide_prompt_color_separator_same_color 949494
71tide_prompt_min_cols 34
72tide_prompt_pad_items false
73tide_prompt_transient_enabled false
74tide_pulumi_bg_color normal
75tide_pulumi_color F7BF2A
76tide_pwd_bg_color normal
77tide_pwd_color_anchors $_tide_color_light_blue
78tide_pwd_color_dirs $_tide_color_dark_blue
79tide_pwd_color_truncated_dirs 8787AF
80tide_pwd_markers .bzr .citc .git .hg .node-version .python-version .ruby-version .shorten_folder_marker .svn .terraform Cargo.toml composer.json CVS go.mod package.json build.zig
81tide_python_bg_color normal
82tide_python_color 00AFAF
83tide_right_prompt_frame_enabled false
84tide_right_prompt_items status cmd_duration context jobs direnv node python rustc java php pulumi ruby go gcloud kubectl distrobox toolbox terraform aws nix_shell crystal elixir zig
85tide_right_prompt_prefix ' '
86tide_right_prompt_separator_diff_color ' '
87tide_right_prompt_separator_same_color ' '
88tide_right_prompt_suffix ''
89tide_ruby_bg_color normal
90tide_ruby_color B31209
91tide_rustc_bg_color normal
92tide_rustc_color F74C00
93tide_shlvl_bg_color normal
94tide_shlvl_color d78700
95tide_shlvl_threshold 1
96tide_status_bg_color normal
97tide_status_bg_color_failure normal
98tide_status_color $_tide_color_dark_green
99tide_status_color_failure D70000
100tide_terraform_bg_color normal
101tide_terraform_color 844FBA
102tide_time_bg_color normal
103tide_time_color 5F8787
104tide_time_format %T
105tide_toolbox_bg_color normal
106tide_toolbox_color 613583
107tide_vi_mode_bg_color_default normal
108tide_vi_mode_bg_color_insert normal
109tide_vi_mode_bg_color_replace normal
110tide_vi_mode_bg_color_visual normal
111tide_vi_mode_color_default 949494
112tide_vi_mode_color_insert 87AFAF
113tide_vi_mode_color_replace 87AF87
114tide_vi_mode_color_visual FF8700
115tide_zig_bg_color normal
116tide_zig_color F7A41D
diff --git a/home-config/fish/functions/tide/configure/configs/lean_16color.fish b/home-config/fish/functions/tide/configure/configs/lean_16color.fish
new file mode 100644
index 0000000..16c2511
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/configs/lean_16color.fish
@@ -0,0 +1,89 @@
1tide_aws_bg_color normal
2tide_aws_color yellow
3tide_character_color brgreen
4tide_character_color_failure brred
5tide_cmd_duration_bg_color normal
6tide_cmd_duration_color brblack
7tide_context_bg_color normal
8tide_context_color_default yellow
9tide_context_color_root bryellow
10tide_context_color_ssh yellow
11tide_crystal_bg_color normal
12tide_crystal_color brwhite
13tide_direnv_bg_color normal
14tide_direnv_bg_color_denied normal
15tide_direnv_color bryellow
16tide_direnv_color_denied brred
17tide_distrobox_bg_color normal
18tide_distrobox_color brmagenta
19tide_docker_bg_color normal
20tide_docker_color blue
21tide_elixir_bg_color normal
22tide_elixir_color magenta
23tide_gcloud_bg_color normal
24tide_gcloud_color blue
25tide_git_bg_color normal
26tide_git_bg_color_unstable normal
27tide_git_bg_color_urgent normal
28tide_git_color_branch brgreen
29tide_git_color_conflicted brred
30tide_git_color_dirty bryellow
31tide_git_color_operation brred
32tide_git_color_staged bryellow
33tide_git_color_stash brgreen
34tide_git_color_untracked brblue
35tide_git_color_upstream brgreen
36tide_go_bg_color normal
37tide_go_color brcyan
38tide_java_bg_color normal
39tide_java_color yellow
40tide_jobs_bg_color normal
41tide_jobs_color green
42tide_kubectl_bg_color normal
43tide_kubectl_color blue
44tide_nix_shell_bg_color normal
45tide_nix_shell_color brblue
46tide_node_bg_color normal
47tide_node_color green
48tide_os_bg_color normal
49tide_os_color brwhite
50tide_php_bg_color normal
51tide_php_color blue
52tide_private_mode_bg_color normal
53tide_private_mode_color brwhite
54tide_prompt_color_frame_and_connection brblack
55tide_prompt_color_separator_same_color brblack
56tide_pulumi_bg_color normal
57tide_pulumi_color yellow
58tide_pwd_bg_color normal
59tide_pwd_color_anchors brcyan
60tide_pwd_color_dirs cyan
61tide_pwd_color_truncated_dirs magenta
62tide_python_bg_color normal
63tide_python_color cyan
64tide_ruby_bg_color normal
65tide_ruby_color red
66tide_rustc_bg_color normal
67tide_rustc_color red
68tide_shlvl_bg_color normal
69tide_shlvl_color yellow
70tide_status_bg_color normal
71tide_status_bg_color_failure normal
72tide_status_color green
73tide_status_color_failure red
74tide_terraform_bg_color normal
75tide_terraform_color magenta
76tide_time_bg_color normal
77tide_time_color brblack
78tide_toolbox_bg_color normal
79tide_toolbox_color magenta
80tide_vi_mode_bg_color_default normal
81tide_vi_mode_bg_color_insert normal
82tide_vi_mode_bg_color_replace normal
83tide_vi_mode_bg_color_visual normal
84tide_vi_mode_color_default white
85tide_vi_mode_color_insert cyan
86tide_vi_mode_color_replace green
87tide_vi_mode_color_visual yellow
88tide_zig_bg_color normal
89tide_zig_color yellow
diff --git a/home-config/fish/functions/tide/configure/configs/rainbow.fish b/home-config/fish/functions/tide/configure/configs/rainbow.fish
new file mode 100644
index 0000000..60c1592
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/configs/rainbow.fish
@@ -0,0 +1,116 @@
1tide_aws_bg_color FF9900
2tide_aws_color 232F3E
3tide_character_color $_tide_color_green
4tide_character_color_failure FF0000
5tide_cmd_duration_bg_color C4A000
6tide_cmd_duration_color 000000
7tide_cmd_duration_decimals 0
8tide_cmd_duration_threshold 3000
9tide_context_always_display false
10tide_context_bg_color 444444
11tide_context_color_default D7AF87
12tide_context_color_root $_tide_color_gold
13tide_context_color_ssh D7AF87
14tide_context_hostname_parts 1
15tide_crystal_bg_color FFFFFF
16tide_crystal_color 000000
17tide_direnv_bg_color $_tide_color_gold
18tide_direnv_bg_color_denied FF0000
19tide_direnv_color 000000
20tide_direnv_color_denied 000000
21tide_distrobox_bg_color FF00FF
22tide_distrobox_color 000000
23tide_docker_bg_color 2496ED
24tide_docker_color 000000
25tide_docker_default_contexts default colima
26tide_elixir_bg_color 4E2A8E
27tide_elixir_color 000000
28tide_gcloud_bg_color 4285F4
29tide_gcloud_color 000000
30tide_git_bg_color 4E9A06
31tide_git_bg_color_unstable C4A000
32tide_git_bg_color_urgent CC0000
33tide_git_color_branch 000000
34tide_git_color_conflicted 000000
35tide_git_color_dirty 000000
36tide_git_color_operation 000000
37tide_git_color_staged 000000
38tide_git_color_stash 000000
39tide_git_color_untracked 000000
40tide_git_color_upstream 000000
41tide_git_truncation_length 24
42tide_git_truncation_strategy
43tide_go_bg_color 00ACD7
44tide_go_color 000000
45tide_java_bg_color ED8B00
46tide_java_color 000000
47tide_jobs_bg_color 444444
48tide_jobs_color 4E9A06
49tide_jobs_number_threshold 1000
50tide_kubectl_bg_color 326CE5
51tide_kubectl_color 000000
52tide_left_prompt_frame_enabled true
53tide_left_prompt_items pwd git newline
54tide_left_prompt_prefix ''
55tide_left_prompt_separator_diff_color 
56tide_left_prompt_separator_same_color 
57tide_left_prompt_suffix 
58tide_nix_shell_bg_color 7EBAE4
59tide_nix_shell_color 000000
60tide_node_bg_color 44883E
61tide_node_color 000000
62tide_os_bg_color $os_branding_bg_color
63tide_os_color $os_branding_color
64tide_php_bg_color 617CBE
65tide_php_color 000000
66tide_private_mode_bg_color F1F3F4
67tide_private_mode_color 000000
68tide_prompt_add_newline_before true
69tide_prompt_color_frame_and_connection 6C6C6C
70tide_prompt_color_separator_same_color 949494
71tide_prompt_min_cols 34
72tide_prompt_pad_items true
73tide_prompt_transient_enabled false
74tide_pulumi_bg_color F7BF2A
75tide_pulumi_color 000000
76tide_pwd_bg_color 3465A4
77tide_pwd_color_anchors E4E4E4
78tide_pwd_color_dirs E4E4E4
79tide_pwd_color_truncated_dirs BCBCBC
80tide_pwd_markers .bzr .citc .git .hg .node-version .python-version .ruby-version .shorten_folder_marker .svn .terraform Cargo.toml composer.json CVS go.mod package.json build.zig
81tide_python_bg_color 444444
82tide_python_color 00AFAF
83tide_right_prompt_frame_enabled true
84tide_right_prompt_items status cmd_duration context jobs direnv node python rustc java php pulumi ruby go gcloud kubectl distrobox toolbox terraform aws nix_shell crystal elixir zig
85tide_right_prompt_prefix 
86tide_right_prompt_separator_diff_color 
87tide_right_prompt_separator_same_color 
88tide_right_prompt_suffix ''
89tide_ruby_bg_color B31209
90tide_ruby_color 000000
91tide_rustc_bg_color F74C00
92tide_rustc_color 000000
93tide_shlvl_bg_color 808000
94tide_shlvl_color 000000
95tide_shlvl_threshold 1
96tide_status_bg_color 2E3436
97tide_status_bg_color_failure CC0000
98tide_status_color 4E9A06
99tide_status_color_failure FFFF00
100tide_terraform_bg_color 800080
101tide_terraform_color 000000
102tide_time_bg_color D3D7CF
103tide_time_color 000000
104tide_time_format %T
105tide_toolbox_bg_color 613583
106tide_toolbox_color 000000
107tide_vi_mode_bg_color_default 949494
108tide_vi_mode_bg_color_insert 87AFAF
109tide_vi_mode_bg_color_replace 87AF87
110tide_vi_mode_bg_color_visual FF8700
111tide_vi_mode_color_default 000000
112tide_vi_mode_color_insert 000000
113tide_vi_mode_color_replace 000000
114tide_vi_mode_color_visual 000000
115tide_zig_bg_color F7A41D
116tide_zig_color 000000
diff --git a/home-config/fish/functions/tide/configure/configs/rainbow_16color.fish b/home-config/fish/functions/tide/configure/configs/rainbow_16color.fish
new file mode 100644
index 0000000..a040f58
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/configs/rainbow_16color.fish
@@ -0,0 +1,93 @@
1tide_aws_bg_color yellow
2tide_aws_color brblack
3tide_character_color brgreen
4tide_character_color_failure brred
5tide_cmd_duration_bg_color yellow
6tide_cmd_duration_color black
7tide_context_bg_color brblack
8tide_context_color_default yellow
9tide_context_color_root yellow
10tide_context_color_ssh yellow
11tide_crystal_bg_color brwhite
12tide_crystal_color black
13tide_direnv_bg_color bryellow
14tide_direnv_bg_color_denied brred
15tide_direnv_color black
16tide_direnv_color_denied black
17tide_distrobox_bg_color brmagenta
18tide_distrobox_color black
19tide_docker_bg_color blue
20tide_docker_color black
21tide_elixir_bg_color magenta
22tide_elixir_color black
23tide_gcloud_bg_color blue
24tide_gcloud_color black
25tide_git_bg_color green
26tide_git_bg_color_unstable yellow
27tide_git_bg_color_urgent red
28tide_git_color_branch black
29tide_git_color_conflicted black
30tide_git_color_dirty black
31tide_git_color_operation black
32tide_git_color_staged black
33tide_git_color_stash black
34tide_git_color_untracked black
35tide_git_color_upstream black
36tide_go_bg_color brcyan
37tide_go_color black
38tide_java_bg_color yellow
39tide_java_color black
40tide_jobs_bg_color brblack
41tide_jobs_color green
42tide_kubectl_bg_color blue
43tide_kubectl_color black
44tide_nix_shell_bg_color brblue
45tide_nix_shell_color black
46tide_node_bg_color green
47tide_node_color black
48tide_os_bg_color white
49tide_os_color black
50tide_php_bg_color blue
51tide_php_color black
52tide_private_mode_bg_color brwhite
53tide_private_mode_color black
54tide_prompt_color_frame_and_connection brblack
55tide_prompt_color_separator_same_color brblack
56tide_pulumi_bg_color yellow
57tide_pulumi_color black
58tide_pwd_bg_color blue
59tide_pwd_color_anchors brwhite
60tide_pwd_color_dirs brwhite
61tide_pwd_color_truncated_dirs white
62tide_python_bg_color brblack
63tide_python_color cyan
64tide_ruby_bg_color red
65tide_ruby_color black
66tide_rustc_bg_color red
67tide_rustc_color black
68tide_shlvl_bg_color yellow
69tide_shlvl_color black
70tide_status_bg_color black
71tide_status_bg_color_failure red
72tide_status_color green
73tide_status_color_failure bryellow
74tide_terraform_bg_color magenta
75tide_terraform_color black
76tide_time_bg_color white
77tide_time_color black
78tide_toolbox_bg_color magenta
79tide_toolbox_color black
80tide_vi_mode_bg_color_default white
81tide_vi_mode_bg_color_insert cyan
82tide_vi_mode_bg_color_replace green
83tide_vi_mode_bg_color_visual yellow
84tide_vi_mode_color_default black
85tide_vi_mode_color_insert black
86tide_vi_mode_color_replace black
87tide_vi_mode_color_visual black
88tide_vi_mode_icon_default D
89tide_vi_mode_icon_insert I
90tide_vi_mode_icon_replace R
91tide_vi_mode_icon_visual V
92tide_zig_bg_color yellow
93tide_zig_color black
diff --git a/home-config/fish/functions/tide/configure/functions/_fake_tide_cache_variables.fish b/home-config/fish/functions/tide/configure/functions/_fake_tide_cache_variables.fish
new file mode 100644
index 0000000..4661ab1
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/functions/_fake_tide_cache_variables.fish
@@ -0,0 +1,41 @@
1function _fake_tide_cache_variables
2 # pwd
3 set_color -o $fake_tide_pwd_color_anchors | read -gx _fake_tide_color_anchors
4 set -gx _fake_tide_color_truncated_dirs "$(set_color $fake_tide_pwd_color_truncated_dirs)"
5 set -gx _fake_tide_reset_to_color_dirs (set_color normal -b $fake_tide_pwd_bg_color; set_color $fake_tide_pwd_color_dirs)
6
7 # git
8 contains git $fake_tide_left_prompt_items $fake_tide_right_prompt_items &&
9 set -gx _fake_tide_location_color "$(set_color $fake_tide_git_color_branch)"
10
11 # private_mode
12 if contains private_mode $fake_tide_left_prompt_items $fake_tide_right_prompt_items && test -n "$fish_private_mode"
13 set -gx _fake_tide_private_mode
14 else
15 set -e _fake_tide_private_mode
16 end
17
18 # Same-color-separator color
19 set -gx _fake_tide_color_separator_same_color "$(set_color $fake_tide_prompt_color_separator_same_color)"
20
21 # two line prompt
22 if contains newline $fake_tide_left_prompt_items
23 set_color $fake_tide_prompt_color_frame_and_connection -b normal | read -gx _fake_tide_prompt_and_frame_color
24 else
25 set -e _fake_tide_prompt_and_frame_color
26 end
27
28 # newline before
29 if test "$fake_tide_prompt_add_newline_before" = true
30 set -g _fake_tide_add_newline ''
31 else
32 set -e _fake_tide_add_newline
33 end
34
35 # item padding
36 if test "$fake_tide_prompt_pad_items" = true
37 set -gx _fake_tide_pad ' '
38 else
39 set -e _fake_tide_pad
40 end
41end
diff --git a/home-config/fish/functions/tide/configure/functions/_fake_tide_item_character.fish b/home-config/fish/functions/tide/configure/functions/_fake_tide_item_character.fish
new file mode 100644
index 0000000..94892ec
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/functions/_fake_tide_item_character.fish
@@ -0,0 +1,8 @@
1function _fake_tide_item_character
2 set_color $fake_tide_character_color
3 if contains newline $fake_tide_left_prompt_items || set -q _configure_transient
4 echo -ns $fake_tide_character_icon
5 else
6 echo -ns ' '$fake_tide_character_icon
7 end
8end
diff --git a/home-config/fish/functions/tide/configure/functions/_fake_tide_item_cmd_duration.fish b/home-config/fish/functions/tide/configure/functions/_fake_tide_item_cmd_duration.fish
new file mode 100644
index 0000000..5aa13b2
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/functions/_fake_tide_item_cmd_duration.fish
@@ -0,0 +1,3 @@
1function _fake_tide_item_cmd_duration
2 _fake_tide_print_item cmd_duration $fake_tide_cmd_duration_icon' ' 5s
3end
diff --git a/home-config/fish/functions/tide/configure/functions/_fake_tide_item_git.fish b/home-config/fish/functions/tide/configure/functions/_fake_tide_item_git.fish
new file mode 100644
index 0000000..fb5b957
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/functions/_fake_tide_item_git.fish
@@ -0,0 +1,3 @@
1function _fake_tide_item_git
2 _fake_tide_print_item git (set_color $fake_tide_git_color_branch) $fake_tide_git_icon' ' main
3end
diff --git a/home-config/fish/functions/tide/configure/functions/_fake_tide_item_newline.fish b/home-config/fish/functions/tide/configure/functions/_fake_tide_item_newline.fish
new file mode 100644
index 0000000..c614bab
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/functions/_fake_tide_item_newline.fish
@@ -0,0 +1,5 @@
1function _fake_tide_item_newline
2 set_color $prev_bg_color -b normal
3 var=fake_tide_"$_fake_tide_side"_prompt_suffix echo $$var
4 set -g add_prefix
5end
diff --git a/home-config/fish/functions/tide/configure/functions/_fake_tide_item_os.fish b/home-config/fish/functions/tide/configure/functions/_fake_tide_item_os.fish
new file mode 100644
index 0000000..5255721
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/functions/_fake_tide_item_os.fish
@@ -0,0 +1,3 @@
1function _fake_tide_item_os
2 _fake_tide_print_item os $fake_tide_os_icon
3end
diff --git a/home-config/fish/functions/tide/configure/functions/_fake_tide_item_time.fish b/home-config/fish/functions/tide/configure/functions/_fake_tide_item_time.fish
new file mode 100644
index 0000000..bbce0b5
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/functions/_fake_tide_item_time.fish
@@ -0,0 +1,3 @@
1function _fake_tide_item_time
2 _fake_tide_print_item time (date +$fake_tide_time_format)
3end
diff --git a/home-config/fish/functions/tide/configure/functions/_fake_tide_print_item.fish b/home-config/fish/functions/tide/configure/functions/_fake_tide_print_item.fish
new file mode 100644
index 0000000..30cd024
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/functions/_fake_tide_print_item.fish
@@ -0,0 +1,22 @@
1function _fake_tide_print_item -a item
2 var=fake_tide_"$item"_bg_color set -f item_bg_color $$var
3
4 if set -e add_prefix
5 set_color $item_bg_color -b normal
6 var=fake_tide_"$_fake_tide_side"_prompt_prefix echo -ns $$var
7 else if test "$item_bg_color" = "$prev_bg_color"
8 var=fake_tide_"$_fake_tide_side"_prompt_separator_same_color echo -ns $_fake_tide_color_separator_same_color$$var
9 else if test "$_fake_tide_side" = left
10 set_color $prev_bg_color -b $item_bg_color
11 echo -ns $fake_tide_left_prompt_separator_diff_color
12 else
13 set_color $item_bg_color -b $prev_bg_color
14 echo -ns $fake_tide_right_prompt_separator_diff_color
15 end
16
17 var=fake_tide_"$item"_color set_color $$var -b $item_bg_color
18
19 echo -ns $_fake_tide_pad $argv[2..] $_fake_tide_pad
20
21 set -g prev_bg_color $item_bg_color
22end
diff --git a/home-config/fish/functions/tide/configure/functions/_fake_tide_prompt.fish b/home-config/fish/functions/tide/configure/functions/_fake_tide_prompt.fish
new file mode 100644
index 0000000..11f20ca
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/functions/_fake_tide_prompt.fish
@@ -0,0 +1,42 @@
1function _fake_tide_prompt
2 set -g add_prefix
3 _fake_tide_side=left set -f left (for item in $fake_tide_left_prompt_items
4 _fake_tide_item_$item
5 end
6 if not set -e add_prefix
7 set_color $prev_bg_color -b normal
8 echo -ns $fake_tide_left_prompt_suffix
9 end)
10
11 set -g add_prefix
12 _fake_tide_side=right set -f right (for item in $fake_tide_right_prompt_items
13 _fake_tide_item_$item
14 end
15 if not set -e add_prefix
16 set_color $prev_bg_color -b normal
17 echo -ns $fake_tide_right_prompt_suffix
18 end)
19
20 if set -q _fake_tide_prompt_and_frame_color # If prompt is two lines
21 test "$fake_tide_left_prompt_frame_enabled" = true &&
22 set left[1] "$_fake_tide_prompt_and_frame_color╭─$left[1]" &&
23 set left[2] "$_fake_tide_prompt_and_frame_color╰─$left[2]"
24 test "$fake_tide_right_prompt_frame_enabled" = true &&
25 set right[1] "$right[1]$_fake_tide_prompt_and_frame_color─╮" &&
26 set right[2] "$right[2]$_fake_tide_prompt_and_frame_color─╯"
27
28 # 5 = @PWD@ length which will be replaced
29 math $fake_columns+5-(string length --visible "$left[1]$right[1]") | read -lx dist_btwn_sides
30 echo -ns "$right[2]"\n(string replace @PWD@ (_fake_tide_pwd) "$left[1]")$_fake_tide_prompt_and_frame_color
31
32 string repeat --no-newline --max (math max 0, $dist_btwn_sides-$_tide_pwd_len) $fake_tide_prompt_icon_connection
33 echo -ns "$right[1]"\n"$left[2] "
34 else
35 math $fake_columns+5-(string length --visible "$left[1]$right[1]") -$fake_tide_prompt_min_cols | read -lx dist_btwn_sides
36 string replace @PWD@ (_fake_tide_pwd) "$right[1]" "$left[1] "
37 end
38end
39
40function _fake_tide_item_pwd
41 _fake_tide_print_item pwd @PWD@
42end
diff --git a/home-config/fish/functions/tide/configure/functions/_fake_tide_pwd.fish b/home-config/fish/functions/tide/configure/functions/_fake_tide_pwd.fish
new file mode 100644
index 0000000..433eafa
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/functions/_fake_tide_pwd.fish
@@ -0,0 +1,11 @@
1function _fake_tide_pwd
2 set -l out (
3 set_color $fake_tide_pwd_color_dirs
4 echo -ns $fake_tide_pwd_icon' ' '~/'
5 set_color -o $fake_tide_pwd_color_anchors
6 echo -ns src
7 set_color normal -b $fake_tide_pwd_bg_color
8 )
9 set -g _tide_pwd_len (string length --visible $out)
10 echo -ns $out
11end
diff --git a/home-config/fish/functions/tide/configure/icons.fish b/home-config/fish/functions/tide/configure/icons.fish
new file mode 100644
index 0000000..70611cd
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/icons.fish
@@ -0,0 +1,40 @@
1tide_aws_icon  # Actual aws glyph is harder to see
2tide_character_icon ❯
3tide_character_vi_icon_default ❮
4tide_character_vi_icon_replace ▶
5tide_character_vi_icon_visual V
6tide_cmd_duration_icon
7tide_crystal_icon 
8tide_direnv_icon ▼
9tide_distrobox_icon 󰆧
10tide_docker_icon 
11tide_elixir_icon 
12tide_gcloud_icon 󰊭 # Actual google cloud glyph is harder to see
13tide_git_icon
14tide_go_icon 
15tide_java_icon 
16tide_jobs_icon 
17tide_kubectl_icon 󱃾
18tide_nix_shell_icon 
19tide_node_icon  # Actual nodejs glyph is harder to see
20tide_os_icon $os_branding_icon
21tide_php_icon 
22tide_private_mode_icon 󰗹
23tide_prompt_icon_connection ' '
24tide_pulumi_icon 
25tide_pwd_icon
26tide_pwd_icon_home
27tide_pwd_icon_unwritable 
28tide_python_icon 󰌠
29tide_ruby_icon 
30tide_rustc_icon 
31tide_shlvl_icon 
32tide_status_icon ✔
33tide_status_icon_failure ✘
34tide_terraform_icon 󱁢
35tide_toolbox_icon 
36tide_vi_mode_icon_default D
37tide_vi_mode_icon_insert I
38tide_vi_mode_icon_replace R
39tide_vi_mode_icon_visual V
40tide_zig_icon 