From cbf1a0a9a27cf79b0a872feeedef7ea1cab79691 Mon Sep 17 00:00:00 2001 From: Rootiest Date: Mon, 21 Sep 2026 01:39:01 -0400 Subject: [PATCH] fix(functions): color tool/flag names in config-help's pager fallback chain ov, bat, man, less, and cat were plain text, and man -l's -l wasn't styled as a flag, in an otherwise-converted help block. --- functions/config-help.fish | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/functions/config-help.fish b/functions/config-help.fish index 46f85cf..9ddb88f 100644 --- a/functions/config-help.fish +++ b/functions/config-help.fish @@ -230,12 +230,12 @@ function config-help --description 'Open the offline fish shell configuration ma echo " $c_arg""q$c_reset quit" echo "" echo "$c_head""PAGER FALLBACK CHAIN$c_reset" - echo " $c_dim""1.$c_reset ov + bat section nav + syntax highlighting $c_dim""(best)$c_reset" - echo " $c_dim""2.$c_reset ov alone section nav, raw Markdown" - echo " $c_dim""3.$c_reset bat alone syntax highlighting, use / to search" - echo " $c_dim""4.$c_reset man -l pre-compiled man page (if available)" - echo " $c_dim""5.$c_reset less plain text with line-jump" - echo " $c_dim""6.$c_reset cat plain output" + echo " $c_dim""1.$c_reset $c_cmd""ov$c_reset + $c_cmd""bat$c_reset section nav + syntax highlighting $c_dim""(best)$c_reset" + echo " $c_dim""2.$c_reset $c_cmd""ov$c_reset alone section nav, raw Markdown" + echo " $c_dim""3.$c_reset $c_cmd""bat$c_reset alone syntax highlighting, use / to search" + echo " $c_dim""4.$c_reset $c_cmd""man$c_reset $c_flag-l$c_reset pre-compiled man page (if available)" + echo " $c_dim""5.$c_reset $c_cmd""less$c_reset plain text with line-jump" + echo " $c_dim""6.$c_reset $c_cmd""cat$c_reset plain output" return 0 end