How to disable reading from config files #3310
-
Is there an easy way to bypass bat's config files from the cli? I received this issue (kelleyma49/PSFzf#308) where a user as |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
-
I was relying on the It looks like you are correct that the option exists as I see hits in the codebase. Thank you, @keith-hall ! https://github.com/search?q=repo%3Asharkdp%2Fbat%20no-config&type=code |
Beta Was this translation helpful? Give feedback.
bat
s man page documents a--no-config
option which should do the trick.Alternatively, as
--force-colorization
is an alias for--decorations=always --color=always
, specifying them individually allows them to override previous values from config without conflicting. (Unless the user has that in their config, I guess. I wonder if it shouldn't be an error, and just expand out as if the full version of the cli arguments were used)