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:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user