-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add simple configuration file #338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This allows users to create simple configuration file (`~/.config/bat/config` on Linux) that has the following format: ```bash --flag1 --flag2 --option1=value1 # lines beginning with '#' are ignored --option2=value2 # empty lines and trailing whitespace are also ignored --option3=value3 ```
c955fb0
to
0f3aa00
Compare
There is one thing missing: |
ff449c3
to
fa0d448
Compare
Would it be possible to set an env variable pointing to the configuration file, similar to |
@SimenB Can you please open a new ticket to address this? Thank you |
This allows users to create simple configuration file (
~/.config/bat/config
on Linux) that has the following format:It also adds support for
BAT_OPTS
environment variable with the same format. It takes precedence over the configuration file.see #310