on master help sign in
Wording
commitd0ba5bcb32a8e1c73f808b5e67f6d419157e7eea authorDavid Peter <sharkdp@users.noreply.github.com> dateSun 11 Nov 2018, 11:07 (8 years ago) parentf8d39d5
1 file changed+8−8
README.md+8−8
README.md+8−8
@@ -323,21 +323,21 @@ If scrolling still doesn't work for you, you can try to pass the `-S` option in
323323
324324### Configuration file
325325
326−`bat` can use a config file for options to cut down on command line flags, that you want to save for each run.
327−
328−#### Location
329−
330−The default location is OS/install location dependent to get the path for your operating system use `bat --config-file` to print out the location of the current config file path.
326+`bat` can also be customized with a configuration file. The location of the file is dependent on you operating system. To get the default path for your system, call
327+```
328+bat --config-file
329+```
331330
332−You can use the `$BAT_CONFIG_PATH` environment variable to point `bat` to a non-default location of the configuration file like so:
331+Alternatively, you can use the `BAT_CONFIG_PATH` environment variable to point `bat` to a non-default location of the configuration file:
333332```bash
334−export BAT_CONFIG_PATH=$HOME/code/setup/bat.conf
333+export BAT_CONFIG_PATH="/path/to/bat.conf"
335334```
336335
337336#### Format
338337
339−The config file is formatted just as you would pass arguments to the CLI. Here is an example:
338+The configuration file is a simple list of command line arguments. Use `bat --help` to see a full list of possible options and values. In addition, you can add comments by prepending a line with the `#` character.
340339
340+Example configuration file:
341341```bash
342342# Set the theme to "TwoDark"
343343--theme="TwoDark"