Daniele Esposti
a21ae614e6
Migrated to Rust 2018
2019-03-09 07:43:41 +01:00
sharkdp
4df22e617f
Update documentation
2019-02-07 22:19:32 +01:00
sharkdp
6473e8c1be
Remove import
2019-02-07 22:19:32 +01:00
sharkdp
972a764a74
Simplify Optional handling
2019-02-07 22:19:32 +01:00
sharkdp
6523bbf62f
Replace 'is_absolute_path' with map and filter
2019-02-07 22:19:32 +01:00
Lavi
05e2c2c66b
removed compile errors and warnings on non-macs
2019-02-07 22:19:32 +01:00
Lavi
69227222b5
config and cache now check XDG env vars first
...
`XDG_CACHE_HOME` and `XDG_CONFIG_HOME` are checked first and fall-back
to `~/.cache/` and `~/.config/`.
2019-02-07 22:19:32 +01:00
Lavi
49af3e854b
Set cache_dir on MacOS to ~/.cache/bat/
2019-02-07 22:19:32 +01:00
Lavi
6a8e4757b7
Updated bat config dir for MacOs
...
Removed directories crate and using dirs_rs
Changed bat config file and cache dir on MacOs:
config: ~/.config/bat/config
cache: ~/.config/bat/cache/
2019-02-07 22:19:32 +01:00
sharkdp
8275b0436d
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
```
2018-10-16 22:09:15 +02:00