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/all/prompt_spacing.fish | |
parent | 776a7ca55d2d2c3f396de91db1c6c3c5065012cd (diff) |
ahhh sloppy fish, still needs fixing, esp with the vars
Diffstat (limited to 'home-config/fish/functions/tide/configure/choices/all/prompt_spacing.fish')
-rw-r--r-- | home-config/fish/functions/tide/configure/choices/all/prompt_spacing.fish | 22 |
1 files changed, 22 insertions, 0 deletions
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 @@ | |||
1 | function 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 | ||
22 | end | ||