bat/src
David Peter ca60937c2e Do not ignore non-existent BAT_CONFIG_PATH
Do not ignore `BAT_CONFIG_PATH` if it doesn't exist. Both when
generating a new config file with `--generate-config-file` and
when attempting to read the config.

Also, provide a better error message in case the file can not
be created.

closes #1550
2021-02-28 10:08:24 +01:00
..
bin/bat Do not ignore non-existent BAT_CONFIG_PATH 2021-02-28 10:08:24 +01:00
assets_metadata.rs Fix some clippy lints 2020-04-24 16:11:05 +02:00
assets.rs Update dependencies; replace unmaintained (#1522) 2021-02-16 08:50:41 +01:00
config.rs Use less binary specified in bat config for --diagnostic 2021-02-16 09:11:27 +01:00
controller.rs Add cycle detection with clircle, now v0.2 2021-01-05 18:21:16 +01:00
decorations.rs Reduce public API 2020-04-22 23:55:28 +02:00
diff.rs Move git changes support behind a feature 2020-03-31 09:27:56 +02:00
error.rs Throws an error when bat is being user as pager. 2020-10-29 19:33:58 +01:00
input.rs Use new matches!(…) macro to simplify code 2021-01-09 19:43:39 +01:00
less.rs Make less version check accept a path to the less binary 2021-02-16 09:11:27 +01:00
lib.rs Merge remote-tracking branch 'origin/master' into fix-1063 2020-12-28 21:57:38 +01:00
line_range.rs Fix some clippy lints 2020-04-24 16:11:05 +02:00
macros.rs Introduce bat_warning! helper macro 2020-12-28 09:27:40 +01:00
output.rs Make less version check accept a path to the less binary 2021-02-16 09:11:27 +01:00
pager.rs get_pager(): Simplify use_less_instead expression 2021-01-11 21:56:10 +01:00
paging.rs Move PagingMode to separate module 2020-04-22 23:55:28 +02:00
preprocessor.rs replace_nonprintable: Keep \n around 2020-12-19 10:27:06 +01:00
pretty_printer.rs Remove deprecated PrettyPrinter methods 2021-01-11 21:36:08 +01:00
printer.rs Addressed PR feedback. Upped min version and used matches! macro 2021-01-09 15:21:26 +01:00
style.rs style: add component 'rule' for horizontal file delimiter 2020-10-12 09:04:27 +01:00
syntax_mapping.rs Fix broken resolv.conf highlighting 2021-02-16 22:15:31 +01:00
terminal.rs Add ansi theme to replace ansi-light and ansi-dark 2020-12-21 17:05:10 +01:00
wrapping.rs Addressed PR feedback. Upped min version and used matches! macro 2021-01-09 15:21:26 +01:00