mirror of
https://github.com/sharkdp/bat
synced 2026-07-22 16:53:19 +00:00
8275b0436d
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
```
7 lines
184 B
Rust
7 lines
184 B
Rust
use directories::ProjectDirs;
|
|
|
|
lazy_static! {
|
|
pub static ref PROJECT_DIRS: ProjectDirs =
|
|
ProjectDirs::from("", "", crate_name!()).expect("Could not get home directory");
|
|
}
|