diff --git a/functions/tide/configure/choices/all/black_or_brblack.fish b/functions/tide/configure/choices/all/black_or_brblack.fish new file mode 100644 index 0000000..8871883 --- /dev/null +++ b/functions/tide/configure/choices/all/black_or_brblack.fish @@ -0,0 +1,57 @@ +function black_or_brblack + _tide_title 'Which of these squares do you see?' + + set -l list black brblack + + for arg in $list + set_color -b $arg + string repeat --no-newline --count 7 ' ' + set_color normal + + string repeat --no-newline --count 2 ' ' + end + echo + for arg in $list + set_color -b $arg + string repeat --no-newline --count 3 ' ' + set_color --bold + echo -ns (contains --index $arg $list) + string repeat --no-newline --count 3 ' ' + set_color normal + + string repeat --no-newline --count 2 ' ' + end + echo + for arg in $list + set_color -b $arg + string repeat --no-newline --count 7 ' ' + set_color normal + + string repeat --no-newline --count 2 ' ' + end + + echo \n + + _tide_option 1 "I only see the square around 1" + echo + + _tide_option 2 "I only see the square around 2" + echo + + _tide_option 3 "I see both squares" + echo + + _tide_menu + switch $_tide_selected_option + case 1 + _load_config "$_tide_configure_style" + set -e _tide_16color + switch $_tide_configure_style + case lean rainbow + _next_choice all/show_time + case classic + _next_choice classic/classic_prompt_color + end + end + _next_choice all/show_time +end diff --git a/functions/tide/configure/choices/all/prompt_colors.fish b/functions/tide/configure/choices/all/prompt_colors.fish index 90b1a9d..30fe249 100644 --- a/functions/tide/configure/choices/all/prompt_colors.fish +++ b/functions/tide/configure/choices/all/prompt_colors.fish @@ -21,6 +21,6 @@ function prompt_colors _next_choice classic/classic_prompt_color end case 2 - _next_choice all/show_time + _next_choice all/black_or_brblack end end