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/transient.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/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 | ||
