Add simple configuration file

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
    ```
This commit is contained in:
sharkdp authored and David Peter committed 2018-10-16 22:09:15 +02:00
1 parent 278bde5cee
commit 8275b0436d
6 files changed
+96 -6

No files matched your search

+2
View File
@@ -23,9 +23,11 @@ extern crate wild;
mod app;
mod assets;
mod clap_app;
mod config;
mod controller;
mod decorations;
mod diff;
mod dirs;
mod inputfile;
mod line_range;
mod output;