dotfiles/fish/functions/tide/configure/choices/all/prompt_spacing.fish

23 lines
586 B
Fish
Raw Normal View History

2023-10-08 22:26:07 -05:00
function prompt_spacing
_tide_title 'Prompt Spacing'
_tide_option 1 Compact
2023-11-20 11:20:55 -06:00
set -g fake_tide_prompt_add_newline_before false
2023-10-08 22:26:07 -05:00
_tide_display_prompt
_tide_display_prompt
_tide_option 2 Sparse
2023-11-20 11:20:55 -06:00
set -g fake_tide_prompt_add_newline_before true
2023-10-08 22:26:07 -05:00
_tide_display_prompt
_tide_display_prompt
2023-11-20 11:20:55 -06:00
_tide_menu (status function)
2023-10-08 22:26:07 -05:00
switch $_tide_selected_option
2023-11-20 11:20:55 -06:00
case Compact
2023-10-08 22:26:07 -05:00
set -g fake_tide_prompt_add_newline_before false
2023-11-20 11:20:55 -06:00
case Sparse
2023-10-08 22:26:07 -05:00
set -g fake_tide_prompt_add_newline_before true
end
_next_choice all/icons
end