diff options
Diffstat (limited to 'home-config/fish/functions/tide/configure/choices/all/transient.fish')
-rw-r--r-- | home-config/fish/functions/tide/configure/choices/all/transient.fish | 22 |
1 files changed, 22 insertions, 0 deletions
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 @@ | |||
1 | function 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 | ||
22 | end | ||