mirror of
https://github.com/sharkdp/bat
synced 2024-11-17 01:17:58 +00:00
Set cache_dir on MacOS to ~/.cache/bat/
This commit is contained in:
parent
6a8e4757b7
commit
49af3e854b
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ impl BatProjectDirs {
|
|||
#[cfg(target_os = "macos")]
|
||||
let cache_dir = match dirs_rs::home_dir() {
|
||||
Some(mut d) => {
|
||||
d.push(".config/bat/cache");
|
||||
d.push(".cache/bat");
|
||||
d
|
||||
}
|
||||
None => return None,
|
||||
|
|
Loading…
Reference in a new issue