fix(functions): color the command name in config-help's USAGE section

The USAGE block's "help config" was left as plain text while every
other section (EXAMPLES) correctly colored it with c_cmd.
This commit is contained in:
2026-09-21 01:36:30 -04:00
parent 610714476d
commit 1dcbd6498c
+4 -4
View File
@@ -195,10 +195,10 @@ function config-help --description 'Open the offline fish shell configuration ma
echo " — view the offline fish shell configuration manual"
echo ""
echo "$c_head""USAGE$c_reset"
echo " help config $c_arg""[section]$c_reset"
echo " help config $c_arg""[section]$c_reset $c_flag--html$c_reset"
echo " help config $c_arg""[section]$c_reset $c_flag--man$c_reset"
echo " help config $c_flag--help$c_reset"
echo " $c_cmd""help config$c_reset $c_arg""[section]$c_reset"
echo " $c_cmd""help config$c_reset $c_arg""[section]$c_reset $c_flag--html$c_reset"
echo " $c_cmd""help config$c_reset $c_arg""[section]$c_reset $c_flag--man$c_reset"
echo " $c_cmd""help config$c_reset $c_flag--help$c_reset"
echo ""
echo "$c_head""ARGUMENTS$c_reset"
echo " $c_arg""section$c_reset Optional keyword to jump to a matching section heading."