guix-dotfiles/home-config/fish/functions/tide/configure/choices/all/prompt_spacing.fish

23 lines
586 B
Fish

function prompt_spacing
_tide_title 'Prompt Spacing'
_tide_option 1 Compact
set -g fake_tide_prompt_add_newline_before false
_tide_display_prompt
_tide_display_prompt
_tide_option 2 Sparse
set -g fake_tide_prompt_add_newline_before true
_tide_display_prompt
_tide_display_prompt
_tide_menu (status function)
switch $_tide_selected_option
case Compact
set -g fake_tide_prompt_add_newline_before false
case Sparse
set -g fake_tide_prompt_add_newline_before true
end
_next_choice all/icons
end