You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I notice bat --style=plain be used in lesspipe.sh. Why not provide a configure method such as environment variable or config file to allow user bat not --style = plain? I think many people prefer using bat to see line number and file header.
Thanks.
The text was updated successfully, but these errors were encountered:
A style can now be given to bat by setting the ENV variable BAT_STYLE or adding the option --style=xxx to the ENV variable LESSCOLORIZER. The default style remains 'plain'
In fact, bat has a config named ~/.config/bat/config. So I advise to use bat's config as its default setting and only use $LESSCOLORIZE to override user's default config.
To set a default style, add the '--style=".."' option to the configuration file or export
the BAT_STYLE environment variable
I notice
bat --style=plain
be used inlesspipe.sh
. Why not provide a configure method such as environment variable or config file to allow userbat
not--style = plain
? I think many people prefer usingbat
to see line number and file header.Thanks.
The text was updated successfully, but these errors were encountered: