Like the original grc, the configuration file in the rgrc is determined by the command name, but if the command name is different or the path to the binary is specified (for example, rgrc /usr/bin/df), then the name is no longer recognized and the output is not colorized.
In the case of grc, this could be circumvented using the pipeline | grcat conf.<command> or -c name, --config=name option, but apparently there is no similar utility rgrcat and there is no way out of this situation.
I suggest adding an option to explicitly specify the command configuration and/or add a command similar in functionality to grcat.
Like the original
grc, the configuration file in thergrcis determined by the command name, but if the command name is different or the path to the binary is specified (for example,rgrc /usr/bin/df), then the name is no longer recognized and the output is not colorized.In the case of
grc, this could be circumvented using the pipeline| grcat conf.<command>or-c name, --config=nameoption, but apparently there is no similar utilityrgrcatand there is no way out of this situation.I suggest adding an option to explicitly specify the command configuration and/or add a command similar in functionality to
grcat.