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
MarcoIeni
43b2ee5e71
fix some clippy warnings
2020-11-23 14:25:01 +01:00
sharkdp
b3903175c8
Auto-format Rust code
2020-10-11 21:57:12 +02:00
Attila Gonda
a0b89a68d9
Update generated config to reflect pager argument behaviour
2020-07-09 08:13:52 +02:00
sharkdp
8e18786556
Run 'cargo fmt'
2020-04-24 16:11:05 +02:00
Lzu Tao
e37e9c1214
Fix some clippy lints
...
Some might actually improve perf
2020-04-24 16:11:05 +02:00
sharkdp
702cb198da
Rename error module
2020-04-22 23:55:28 +02:00
sharkdp
27974616bf
Initial verison of PrettyPrinter builder
2020-04-22 23:55:28 +02:00
sharkdp
859ff50766
Update default config file, add comment about tmux mouse scrolling support
2020-04-21 17:45:14 +02:00
sharkdp
495fab24a5
cargo fmt
2020-04-11 19:40:04 +02:00
David Tolnay
570805bc98
Strip dependencies of bat-as-a-library
2020-03-31 09:27:56 +02:00
Josh Mickley
40a827ebcb
Graceful handling of error conditions
2020-03-26 09:14:40 +01:00
Josh Mickley
376c556862
Add option to generate a default config file, fixes #870
2020-03-26 09:14:40 +01:00
sharkdp
06b7be7ee9
Major restructuring of theme/syntax handling
2020-03-21 19:19:15 +01:00
sharkdp
3334f74b72
Remove custom 'transpose' function
2019-10-30 19:47:51 +01:00
Fahmi Akbar Wildana
a2ee753b25
Move config.rs into src/bin/bat/
2019-10-20 21:43:51 +02:00