mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-30 10:06:12 +00:00
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
```
This commit is contained in:
1 parent
278bde5cee
commit
8275b0436d
6 files changed
+96
-6
No files matched your search
@@ -0,0 +1,6 @@
|
||||
use directories::ProjectDirs;
|
||||
|
||||
lazy_static! {
|
||||
pub static ref PROJECT_DIRS: ProjectDirs =
|
||||
ProjectDirs::from("", "", crate_name!()).expect("Could not get home directory");
|
||||
}
|
||||
Reference in new issue
Block a user