mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-30 10:06:12 +00:00
Set cache_dir on MacOS to ~/.cache/bat/
This commit is contained in:
1 parent
6a8e4757b7
commit
49af3e854b
1 file changed
+1
-1
+1
-1
@@ -12,7 +12,7 @@ impl BatProjectDirs {
|
|||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
let cache_dir = match dirs_rs::home_dir() {
|
let cache_dir = match dirs_rs::home_dir() {
|
||||||
Some(mut d) => {
|
Some(mut d) => {
|
||||||
d.push(".config/bat/cache");
|
d.push(".cache/bat");
|
||||||
d
|
d
|
||||||
}
|
}
|
||||||
None => return None,
|
None => return None,
|
||||||
|
|||||||
Reference in new issue
Block a user